High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): new fonts (#5165)
Alexf5d73b04992c
diff --git a/web/src/app.css b/web/src/app.cssindex 746ba810a7..81b58580af 100644--- a/web/src/app.css+++ b/web/src/app.css@@ -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 {diff --git a/web/src/lib/assets/fonts/WorkSans-Italic-VariableFont_wght.ttf b/web/src/lib/assets/fonts/WorkSans-Italic-VariableFont_wght.ttfdeleted file mode 100644index 03e9671c1e..0000000000Binary files a/web/src/lib/assets/fonts/WorkSans-Italic-VariableFont_wght.ttf and /dev/null differdiff --git a/web/src/lib/assets/fonts/WorkSans-VariableFont_wght.ttf b/web/src/lib/assets/fonts/WorkSans-VariableFont_wght.ttfdeleted file mode 100644index c8d05412fe..0000000000Binary files a/web/src/lib/assets/fonts/WorkSans-VariableFont_wght.ttf and /dev/null differdiff --git a/web/src/lib/assets/fonts/overpass/Overpass-Italic.ttf b/web/src/lib/assets/fonts/overpass/Overpass-Italic.ttfnew file mode 100644index 0000000000..281dd742bbBinary files /dev/null and b/web/src/lib/assets/fonts/overpass/Overpass-Italic.ttf differdiff --git a/web/src/lib/assets/fonts/overpass/Overpass.ttf b/web/src/lib/assets/fonts/overpass/Overpass.ttfnew file mode 100644index 0000000000..1cf730a5adBinary files /dev/null and b/web/src/lib/assets/fonts/overpass/Overpass.ttf differdiff --git a/web/src/lib/assets/fonts/overpass/OverpassMono.ttf b/web/src/lib/assets/fonts/overpass/OverpassMono.ttfnew file mode 100644index 0000000000..71ef818b33Binary files /dev/null and b/web/src/lib/assets/fonts/overpass/OverpassMono.ttf differdiff --git a/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte b/web/src/lib/components/shared-components/scrollbar/scrollbar.svelteindex 6d3dec4949..045cea950a 100644--- a/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte+++ b/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte@@ -134,7 +134,7 @@{#if segment.hasLabel}<divaria-label={segment.timeGroup + ' ' + segment.count}- class="absolute right-0 bottom-0 z-10 pr-5 text-xs font-medium dark:text-immich-dark-fg font-mono"+ class="absolute right-0 bottom-0 z-10 pr-5 text-xs dark:text-immich-dark-fg font-immich-mono font-semibold">{segment.date.year}</div>diff --git a/web/src/lib/components/user-settings-page/partner-settings.svelte b/web/src/lib/components/user-settings-page/partner-settings.svelteindex dddf537cdd..afabe7a25c 100644--- a/web/src/lib/components/user-settings-page/partner-settings.svelte+++ b/web/src/lib/components/user-settings-page/partner-settings.svelte@@ -118,7 +118,7 @@<p class="text-immich-fg dark:text-immich-dark-fg">{partner.user.name}</p>- <p class="text-xs text-immich-fg/75 dark:text-immich-dark-fg/75">+ <p class="text-sm text-immich-fg/75 dark:text-immich-dark-fg/75">{partner.user.email}</p></div>diff --git a/web/src/routes/(user)/explore/+page.svelte b/web/src/routes/(user)/explore/+page.svelteindex 37f094491f..88da359242 100644--- a/web/src/routes/(user)/explore/+page.svelte+++ b/web/src/routes/(user)/explore/+page.svelte@@ -37,7 +37,7 @@$: {if (innerWidth && screenSize) {// Set the number of faces according to the screen size and the div size- MAX_ITEMS = screenSize < 768 ? Math.floor(innerWidth / 96) : Math.floor(innerWidth / 112);+ MAX_ITEMS = screenSize < 768 ? Math.floor(innerWidth / 96) : Math.floor(innerWidth / 120);}}</script>diff --git a/web/tailwind.config.cjs b/web/tailwind.config.cjsindex 3691e15dca..8dee52c5d7 100644--- a/web/tailwind.config.cjs+++ b/web/tailwind.config.cjs@@ -25,6 +25,7 @@ module.exports = {},fontFamily: {'immich-title': ['Snowburst One', 'cursive'],+ 'immich-mono': ['Overpass Mono', 'monospace'],},spacing: {18: '4.5rem',