Skip to content

Commit a39ae9a

Browse files
authored
change resolution cut-off (#643)
* change resolution cut-off * Update packages/site-kit/src/lib/styles/tokens.css * Update packages/site-kit/src/lib/styles/tokens.css
1 parent 78eae63 commit a39ae9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
the 0.01 prevents Vite from optimising it to `translate(0, 0)`, which doesn't fix anything */
121121
--safari-fix: translate3d(0, 0, 0.01);
122122

123-
@media (resolution: 2x) {
123+
/* set at 1.75x so if you zoom +/-10% from common settings it won't switch your font */
124+
@media (resolution: 1.75x) {
124125
--sk-font-family-body: 'EB Garamond', Georgia, serif;
125126
--sk-font-size-body: 2.2rem;
126127
--sk-font-size-body-small: 2rem;

0 commit comments

Comments
 (0)