@botiverse/raft-ui 0.10.3 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/fonts.css +13 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [0.10.4](https://github.com/botiverse/raft-design/compare/v0.10.3...v0.10.4) (2026-10-20)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- A page in Traditional Chinese (`<html lang="zh-TW">`, also `zh-HK`, `zh-MO` and `zh-Hant`) falls back to Traditional Chinese faces (PingFang TC, Microsoft JhengHei, Noto Sans TC) before the Simplified ones, so characters keep their Traditional glyph shapes. Simplified Chinese and default pages are unchanged. ([#610](https://github.com/botiverse/raft-design/pull/610))
|
|
6
|
+
|
|
1
7
|
## [0.10.3](https://github.com/botiverse/raft-design/compare/v0.10.2...v0.10.3) (2026-10-20)
|
|
2
8
|
|
|
3
9
|
### Added
|
package/dist/fonts.css
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Space+Mono:wght@400;700&display=swap");
|
|
2
2
|
|
|
3
3
|
/* Raft Design System: Space Grotesk is what people say, Space Mono is what
|
|
4
|
-
machines write. CJK falls back to PingFang / Source Han Sans; a
|
|
5
|
-
Korean page (<html lang="ja|ko">) falls back to its
|
|
6
|
-
keep Japanese glyph shapes and
|
|
4
|
+
machines write. CJK falls back to PingFang / Source Han Sans; a Traditional
|
|
5
|
+
Chinese, Japanese or Korean page (<html lang="zh-TW|ja|ko">) falls back to its
|
|
6
|
+
own faces first, so characters keep Traditional or Japanese glyph shapes and
|
|
7
|
+
Hangul a Korean face. */
|
|
7
8
|
:where(:root) {
|
|
8
9
|
--heading-font:
|
|
9
10
|
"Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
|
|
@@ -14,6 +15,15 @@
|
|
|
14
15
|
--mono-font: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
|
15
16
|
}
|
|
16
17
|
|
|
18
|
+
:where(:root:lang(zh-TW), :root:lang(zh-HK), :root:lang(zh-MO), :root:lang(zh-Hant)) {
|
|
19
|
+
--heading-font:
|
|
20
|
+
"Space Grotesk", "PingFang TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans TC",
|
|
21
|
+
"Noto Sans CJK TC", system-ui, sans-serif;
|
|
22
|
+
--sans-font:
|
|
23
|
+
"Space Grotesk", "PingFang TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans TC",
|
|
24
|
+
"Noto Sans CJK TC", system-ui, sans-serif;
|
|
25
|
+
}
|
|
26
|
+
|
|
17
27
|
:where(:root:lang(ja)) {
|
|
18
28
|
--heading-font:
|
|
19
29
|
"Space Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo,
|