diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css index 8476565..f5ab81e 100644 --- a/.vitepress/theme/custom.css +++ b/.vitepress/theme/custom.css @@ -1,17 +1,11 @@ @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap"); - -* { - font-family: "Noto Sans Thai", sans-serif; - font-optical-sizing: auto; - font-style: normal; - font-variation-settings: "wdth" 100; -} +@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap'); :root { + --vp-font-family-base: "Noto Sans Thai", sans-serif; + --vp-font-family-mono: "JetBrains Mono", monospace; --vp-home-hero-name-color: transparent; - --vp-home-hero-name-background: -webkit-linear-gradient( - 120deg, - #bd34fe, - #41d1ff - ); + --vp-home-hero-name-background: -webkit-linear-gradient(120deg, + #bd34fe, + #41d1ff); }