perf: self-host all fonts, remove Google Fonts CDN dependency
Remove @import for fonts.googleapis.com. Self-host JetBrains Mono, Oswald, and LINE Seed JP with @font-face declarations. App now works fully offline without external font requests.
This commit is contained in:
3 files changed
+21
-2
No files matched your search
+21
-2
@@ -1,5 +1,3 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=LINE+Seed+JP:wght@400;700&family=Oswald:wght@400;500;600;700&display=swap');
|
||||
|
||||
/* Bundled fonts */
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
@@ -8,6 +6,27 @@
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'LINE Seed JP';
|
||||
src: url('/fonts/LINESeedJP-Regular.ttf') format('truetype');
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Oswald';
|
||||
src: url('/fonts/Oswald-VariableFont_wght.ttf') format('truetype');
|
||||
font-weight: 400 700;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'JetBrains Mono';
|
||||
src: url('/fonts/JetBrainsMono-Regular.ttf') format('truetype');
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Noto Sans';
|
||||
src: url('/fonts/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user