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:
Alex
2023-11-19 21:06:16 -06:00
committed by GitHub
parent c1239a7337
commit f5d73b0499
10 changed files with 15 additions and 6 deletions
+11 -3
View File
@@ -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 {