File tree 3 files changed +6
-0
lines changed
site/content/docs/5.2/content
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 35
35
@each $display , $font-size in $display-font-sizes {
36
36
.display-#{$display } {
37
37
@include font-size ($font-size );
38
+ font-family : $display-font-family ;
39
+ font-style : $display-font-style ;
38
40
font-weight : $display-font-weight ;
39
41
line-height : $display-line-height ;
40
42
}
Original file line number Diff line number Diff line change @@ -604,6 +604,8 @@ $display-font-sizes: (
604
604
6 : 2.5rem
605
605
) !default ;
606
606
607
+ $display-font-family : null !default ;
608
+ $display-font-style : null !default ;
607
609
$display-font-weight : 300 !default ;
608
610
$display-line-height : $headings-line-height !default ;
609
611
// scss-docs-end display-headings
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ Traditional heading elements are designed to work best in the meat of your page
88
88
89
89
Display headings are configured via the ` $display-font-sizes ` Sass map and two variables, ` $display-font-weight ` and ` $display-line-height ` .
90
90
91
+ Display headings are customizable via two variables, ` $display-font-family ` and ` $display-font-style ` .
92
+
91
93
{{< scss-docs name="display-headings" file="scss/_ variables.scss" >}}
92
94
93
95
## Lead
You can’t perform that action at this time.
0 commit comments