From a99ba7f50a5f0018a08313019ed8ae97e28e5919 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Wed, 28 May 2025 22:53:58 +0800 Subject: [PATCH] style(stage-ui): new font Co-authored-by: Rynco Maekawa <10259119+lynzrand@users.noreply.github.com> --- .../stage-ui/stories/TypographySans.story.vue | 70 +++++++++++++++++-- uno.config.ts | 22 +++--- 2 files changed, 75 insertions(+), 17 deletions(-) diff --git a/packages/stage-ui/stories/TypographySans.story.vue b/packages/stage-ui/stories/TypographySans.story.vue index 4d4d8ae2d..003949376 100644 --- a/packages/stage-ui/stories/TypographySans.story.vue +++ b/packages/stage-ui/stories/TypographySans.story.vue @@ -2,10 +2,13 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -21,7 +24,10 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -37,7 +43,10 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -53,7 +62,10 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -69,7 +81,10 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -85,7 +100,10 @@ -
+
+
+ Project AIRI +
Hello, world! @@ -99,5 +117,43 @@
+ + +
+
+ Project AIRI +
+
+
+ Hello, world! +
+
+ こんにちは、世界! +
+
+ 你好,世界! +
+
+
+
+ + +
+
+ Project AIRI +
+
+
+ Hello, world! +
+
+ こんにちは、世界! +
+
+ 好,世界! +
+
+
+
diff --git a/uno.config.ts b/uno.config.ts index 26b348d14..1aa695ffd 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -63,22 +63,24 @@ export function sharedUnoConfig() { presetTypography(), presetWebFonts({ fonts: { - sans: 'DM Sans', - serif: 'DM Serif Display', - mono: 'DM Mono', - cute: 'Kiwi Maru', - cuteen: 'Sniglet', - jura: 'Jura', - gugi: 'Gugi', - quicksand: 'Quicksand', - quanlai: { + 'sans': 'DM Sans', + 'serif': 'DM Serif Display', + 'mono': 'DM Mono', + 'cute': 'Kiwi Maru', + 'cuteen': 'Sniglet', + 'jura': 'Jura', + 'gugi': 'Gugi', + 'quicksand': 'Quicksand', + 'quanlai': { name: 'cjkfonts AllSeto', provider: 'none', }, - xiaolai: { + 'xiaolai': { name: 'Xiaolai SC', provider: 'none', }, + 'urbanist': 'Urbanist', + 'm-plus-rounded': 'M PLUS Rounded 1c', }, timeouts: { warning: 5000,