mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-10 05:53:05 +09:00
fix(ui): replace corrupt IBM Plex Sans 400 woff2 and guard it in font lint
This commit is contained in:
1 parent
545c2f0607
commit
600b96befc
2 files changed
+2
-1
No files matched your search
Binary file not shown.
@@ -9,6 +9,7 @@ const FRONTEND = join(dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const FONT_DIR = join(FRONTEND, 'public', 'fonts');
|
||||
const FONT_STYLES = join(FRONTEND, 'src', 'styles', 'base', '_fonts.scss');
|
||||
const FONTS = [
|
||||
['ibm-plex-sans-400.woff2', 400],
|
||||
['ibm-plex-sans-500.woff2', 500],
|
||||
['ibm-plex-sans-600.woff2', 600],
|
||||
['ibm-plex-sans-700.woff2', 700],
|
||||
@@ -34,4 +35,4 @@ for (const [filename, weight] of FONTS) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('✓ font integrity: IBM Plex Sans 500/600/700 are valid WOFF2 assets');
|
||||
console.log('✓ font integrity: IBM Plex Sans 400/500/600/700 are valid WOFF2 assets');
|
||||
Reference in new issue
Block a user