1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-05 23:32:45 +08:00

feat: update level1-2 font family to Google Sans Flex

This commit is contained in:
2025-11-29 20:36:25 +08:00
parent d8aaffd92f
commit d4b22f8f1e
2 changed files with 6 additions and 3 deletions

View File

@@ -63,7 +63,10 @@ export default defineConfig({
],
[
"link",
{ href: "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap", rel: "stylesheet" },
{
href: "https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap",
rel: "stylesheet",
},
],
[
"link",

View File

@@ -168,8 +168,8 @@
--md-ripple-pressed-color: var(--md-sys-color-primary);
// Typography
$level1-font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
$level2-font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
$level1-font-family: "Google Sans Flex", "Noto Sans SC", sans-serif;
$level2-font-family: "Google Sans Flex", "Noto Sans SC", sans-serif;
@include mixin.typescale("display-large", $level1-font-family, 57, -0.25, 64, 400);
@include mixin.typescale("display-medium", $level1-font-family, 45, 0, 52, 400);
@include mixin.typescale("display-small", $level1-font-family, 36, 0, 44, 400);