File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,14 @@ html {
18
18
@include inTargetWeb {
19
19
font : var (--typography-html-font , $body-font-size $font-content );
20
20
}
21
+ /// The quotes CSS property sets how the browser should render quotation marks
22
+ /// added through a CSS content field or the HTML q element
21
23
quotes : " “" " ”" ;
24
+ @each $lang , $quotes in $localizedQuotes {
25
+ & :lang (#{$lang}) {
26
+ quotes : $quotes ;
27
+ }
28
+ }
22
29
}
23
30
24
31
body {
Original file line number Diff line number Diff line change @@ -81,3 +81,11 @@ $on-this-page-aside-width: 192px;
81
81
82
82
// Suggest Lang
83
83
$suggest-lang-height : 52px ;
84
+
85
+ // Localized Quotes
86
+ $localizedQuotes : (
87
+ ja-JP : " 「" " 」" ,
88
+ ) !default ;
89
+
90
+ // Localized Fonts
91
+ $localizedFonts : () !default ;
Original file line number Diff line number Diff line change @@ -60,6 +60,16 @@ $font-weight-bold: 700 !default;
60
60
} @else {
61
61
@warn ' The font style `#{$font-style-name } ` is not defined.' ;
62
62
}
63
+ //
64
+ // Add support for localized font families
65
+ //
66
+ @if ($localizedFonts ) {
67
+ @each $lang , $fonts in $localizedFonts {
68
+ :lang (#{$lang}) & {
69
+ font-family : $fonts ;
70
+ }
71
+ }
72
+ }
63
73
}
64
74
65
75
//
You can’t perform that action at this time.
0 commit comments