🍱 Update fonts
This commit is contained in:
parent
bb69202b9f
commit
cc9f1e9ac8
@ -1,3 +1,5 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Noto+Serif+JP:wght@200..900&family=Noto+Serif+SC:wght@200..900&family=Noto+Serif+TC:wght@200..900&display=swap');
|
||||
|
||||
html, body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
@ -6,7 +8,14 @@ html, body {
|
||||
html, body, #app, .v-application {
|
||||
overflow: auto !important;
|
||||
|
||||
font-family: "Comfortaa", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", sans-serif;
|
||||
font-family: "IBM Plex Serif", "Noto Serif SC", "Noto Serif TC", "Noto Serif JP", serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.font-mono, code, pre {
|
||||
font-family: "IBM Plex Mono", monospace !important;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
|
@ -31,7 +31,7 @@ export default defineNuxtConfig({
|
||||
defaultLocale: "en",
|
||||
},
|
||||
|
||||
css: ["@/assets/index.css"],
|
||||
css: ["~/assets/index.css"],
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
@ -55,12 +55,6 @@ export default defineNuxtConfig({
|
||||
meta: [],
|
||||
link: [
|
||||
{ rel: "icon", type: "image/png", href: "/favicon.png" },
|
||||
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
||||
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: "https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans+TC:wght@100..900&display=swap",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user