Skip to content

Commit f2a67ee

Browse files
Update app.css
1 parent 3076a78 commit f2a67ee

1 file changed

Lines changed: 5 additions & 26 deletions

File tree

src/styles/app.css

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ html.theme-switching *::after {
2121
--breakpoint-xs: 480px;
2222

2323
/* Fonts */
24+
/* 'Inter Fallback' is generated by vite-font (INTER_FALLBACK_FAMILY in
25+
vite.config.ts) and must be spelled identically here, or the metric
26+
overrides that hold the layout steady never get applied. */
2427
--font-sans:
25-
'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
26-
'Segoe UI Emoji', Segoe UI Symbol, 'Noto Color Emoji';
28+
'Inter', 'Inter Fallback', ui-sans-serif, system-ui, sans-serif,
29+
'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol, 'Noto Color Emoji';
2730
--font-shop-display: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
2831
--font-shop-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
2932

@@ -1090,30 +1093,6 @@ mark {
10901093
@apply fill-gray-800/90 stroke-gray-500/20;
10911094
}
10921095

1093-
@font-face {
1094-
font-display: swap;
1095-
font-family: 'Inter';
1096-
font-style: normal;
1097-
font-weight: 100 900;
1098-
src: url('/fonts/Inter-latin-ext.woff2') format('woff2');
1099-
unicode-range:
1100-
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
1101-
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
1102-
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
1103-
}
1104-
1105-
@font-face {
1106-
font-display: swap;
1107-
font-family: 'Inter';
1108-
font-style: normal;
1109-
font-weight: 100 900;
1110-
src: url('/fonts/Inter-latin.woff2') format('woff2');
1111-
unicode-range:
1112-
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
1113-
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
1114-
U+2215, U+FEFF, U+FFFD;
1115-
}
1116-
11171096
@keyframes fadeIn {
11181097
from {
11191098
opacity: 0;

0 commit comments

Comments
 (0)