Skip to content

Commit fc9012d

Browse files
committed
bigger font on shitty screens
1 parent 205d791 commit fc9012d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

packages/site-kit/src/lib/components/Text.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
ol,
6666
ul {
6767
margin: 1em 0;
68-
font-size: var(--sk-text-m);
68+
font-size: var(--sk-text-body);
6969
}
7070
7171
/* TODO is this still used? don't think so */

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ h4 {
7373
font-size: var(--sk-text-s);
7474
}
7575
h3 {
76-
font-size: var(--sk-text-m);
76+
font-size: var(--sk-text-body);
7777
}
7878
h2 {
7979
font-size: var(--sk-text-l);

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,15 @@
3131
--sk-text-xl: 3rem;
3232
--sk-text-l: 2.4rem;
3333
--sk-text-m: 2rem;
34+
--sk-text-body: 2.4rem;
3435
--sk-text-s: 1.8rem;
3536
--sk-text-xs: 1.4rem;
3637
--sk-line-max-width: 84rem;
3738

39+
@media (min-resolution: 2x) {
40+
--sk-text-body: 2rem;
41+
}
42+
3843
--sk-focus-outline: 0 0 0 2px hsla(var(--sk-theme-1-hsl), 0.6);
3944

4045
/* Base colors */

0 commit comments

Comments
 (0)