feat(web): new fonts (#5165)
* feat(web): new fonts * remove old fonts and make default font size larger * fine tunning
This commit is contained in:
+11
-3
@@ -23,11 +23,18 @@
|
||||
--immich-dark-warning: 245 124 0;
|
||||
}
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Overpass';
|
||||
src: url('$lib/assets/fonts/overpass/Overpass.ttf') format('truetype-variations');
|
||||
font-weight: 1 999;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Work Sans';
|
||||
src: url('$lib/assets/fonts/WorkSans-VariableFont_wght.ttf') format('truetype-variations');
|
||||
font-family: 'Overpass Mono';
|
||||
src: url('$lib/assets/fonts/overpass/OverpassMono.ttf') format('truetype-variations');
|
||||
font-weight: 1 999;
|
||||
font-style: monospace;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -36,7 +43,7 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
font-family: 'Work Sans', sans-serif;
|
||||
font-family: 'Overpass', sans-serif;
|
||||
/* Used by layouts to ensure proper spacing between navbar and content */
|
||||
--navbar-height: calc(theme(spacing.18) + 4px);
|
||||
}
|
||||
@@ -44,6 +51,7 @@
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar {
|
||||
|
||||
Reference in New Issue
Block a user