瀏覽代碼

Replace default UI font, Arimo to Inter

Robert Piosik 10 月之前
父節點
當前提交
21b8072f35
共有 5 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/app.css
  2. 1 1
      src/routes/auth/+page.svelte
  3. 1 1
      src/tailwind.css
  4. 二進制
      static/assets/fonts/Arimo-Variable.ttf
  5. 二進制
      static/assets/fonts/Inter-Variable.ttf

+ 2 - 2
src/app.css

@@ -1,6 +1,6 @@
 @font-face {
-	font-family: 'Arimo';
-	src: url('/assets/fonts/Arimo-Variable.ttf');
+	font-family: 'Inter';
+	src: url('/assets/fonts/Inter-Variable.ttf');
 	font-display: swap;
 }
 

+ 1 - 1
src/routes/auth/+page.svelte

@@ -346,7 +346,7 @@
 
 <style>
 	.font-mona {
-		font-family: 'Mona Sans', -apple-system, 'Arimo', ui-sans-serif, system-ui, 'Segoe UI', Roboto,
+		font-family: 'Mona Sans', -apple-system, 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto,
 			Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji',
 			'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
 	}

+ 1 - 1
src/tailwind.css

@@ -5,7 +5,7 @@
 @layer base {
 	html,
 	pre {
-		font-family: -apple-system, 'Arimo', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu,
+		font-family: -apple-system, 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu,
 			Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji',
 			'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
 	}

二進制
static/assets/fonts/Arimo-Variable.ttf


二進制
static/assets/fonts/Inter-Variable.ttf