Skip to content

Commit a23e894

Browse files
committed
use line-height: 1.5 across the board
1 parent acc002f commit a23e894

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

packages/site-kit/src/lib/styles/tokens.css

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
--sk-font-size-ui-large: 3rem;
4040
--sk-font-size-mono: 1.4rem;
4141

42-
--sk-line-height-body: 1.7;
42+
--sk-line-height-body: 1.5;
4343

4444
--sk-font-h1: 500 var(--sk-font-size-h1) / 1.2 var(--sk-font-family-heading);
4545
--sk-font-h2: 500 var(--sk-font-size-h2) / 1.2 var(--sk-font-family-heading);
@@ -125,7 +125,16 @@
125125
--sk-font-family-body: 'EB Garamond', Georgia, serif;
126126
--sk-font-size-body: 2.2rem;
127127
--sk-font-size-body-small: 2rem;
128-
--sk-line-height-body: 1.5;
128+
}
129+
130+
&.font-boring {
131+
--sk-font-family-body: 'Atkinson Hyperlegible', sans-serif;
132+
--sk-font-size-body: 2rem;
133+
--sk-font-size-body-small: 1.8rem;
134+
135+
p code {
136+
font-size: 0.75em;
137+
}
129138
}
130139

131140
&.dark {
@@ -176,16 +185,6 @@
176185
--sk-raised-hover-color: var(--sk-back-6) var(--sk-back-3) var(--sk-back-3) var(--sk-back-6);
177186
--sk-raised-active-color: var(--sk-back-3) var(--sk-back-6) var(--sk-back-6) var(--sk-back-3);
178187
}
179-
180-
&.font-boring {
181-
--sk-font-family-body: 'Atkinson Hyperlegible', sans-serif;
182-
--sk-font-size-body: 2rem;
183-
--sk-font-size-body-small: 1.8rem;
184-
185-
p code {
186-
font-size: 0.75em;
187-
}
188-
}
189188
}
190189

191190
@media screen and (min-width: 480px) {

0 commit comments

Comments
 (0)