aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/_utilities.scss16
-rw-r--r--scss/_variables.scss11
2 files changed, 22 insertions, 5 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index 226c9143a..21ff56066 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -387,6 +387,17 @@ $utilities: map-merge(
values: $spacers
),
// Text
+ "font-size": (
+ rfs: true,
+ property: font-size,
+ class: fs,
+ values: $font-sizes
+ ),
+ "font-style": (
+ property: font-style,
+ class: fst,
+ values: italic normal
+ ),
"font-weight": (
property: font-weight,
values: (
@@ -462,11 +473,6 @@ $utilities: map-merge(
property: text-decoration,
values: none underline line-through
),
- "font-style": (
- property: font-style,
- class: font,
- values: italic normal
- ),
"word-wrap": (
property: word-wrap word-break,
class: text,
diff --git a/scss/_variables.scss b/scss/_variables.scss
index c15ceb68a..6fba4d835 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -425,6 +425,17 @@ $h4-font-size: $font-size-base * 1.5 !default;
$h5-font-size: $font-size-base * 1.25 !default;
$h6-font-size: $font-size-base !default;
+// scss-docs-start font-sizes
+$font-sizes: (
+ 1: $h1-font-size,
+ 2: $h2-font-size,
+ 3: $h3-font-size,
+ 4: $h4-font-size,
+ 5: $h5-font-size,
+ 6: $h6-font-size
+) !default;
+// scss-docs-end font-sizes
+
$headings-margin-bottom: $spacer / 2 !default;
$headings-font-family: null !default;
$headings-font-style: null !default;