bundle font with extension

This commit is contained in:
2026-02-09 14:52:32 +03:00
parent fb5a7a02c3
commit 16d4270442
5 changed files with 4 additions and 5 deletions

View File

@@ -18,4 +18,4 @@
"rebuild": "npm run clean && npm run build", "rebuild": "npm run clean && npm run build",
"prepare": "npm run build && node scripts/update-manifest-version.js" "prepare": "npm run build && node scripts/update-manifest-version.js"
} }
} }

View File

@@ -1,10 +1,9 @@
/* DM Sans https://fontsource.org/fonts/dm-sans */
@font-face { @font-face {
font-family: 'DM Sans'; font-family: 'DM Sans';
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
font-weight: 400; font-weight: 400;
src: url(https://cdn.jsdelivr.net/fontsource/fonts/dm-sans@latest/latin-400-normal.woff2) format('woff2'); src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2');
} }
@font-face { @font-face {
@@ -12,7 +11,7 @@
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
font-weight: 500; font-weight: 500;
src: url(https://cdn.jsdelivr.net/fontsource/fonts/dm-sans@latest/latin-500-normal.woff2) format('woff2'); src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2');
} }
@font-face { @font-face {
@@ -20,5 +19,5 @@
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
font-weight: 600; font-weight: 600;
src: url(https://cdn.jsdelivr.net/fontsource/fonts/dm-sans@latest/latin-600-normal.woff2) format('woff2'); src: url('fonts/dm-sans-latin-600-normal.woff2') format('woff2');
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.