@botiverse/raft-ui 0.63.0 → 0.63.1
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 +9 -0
- package/dist/fonts.css +20 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [0.63.1](https://github.com/botiverse/raft-design/compare/v0.63.0...v0.63.1) (2026-11-05)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- **Fonts**: Cyrillic text no longer shows with its letters spaced apart. The sans and heading stacks try Arial and Helvetica Neue before the CJK faces. ([#994](https://github.com/botiverse/raft-design/pull/994))
|
|
6
|
+
- Why: Space Grotesk has no Cyrillic, so Russian and Ukrainian fell through to the CJK faces, whose Cyrillic glyphs are fullwidth (Hands #155, artin, #triage:83068786).
|
|
7
|
+
- Affects: only characters Space Grotesk lacks (Cyrillic, Greek and a few symbols such as arrows), on every page language. Latin and CJK text keeps its faces.
|
|
8
|
+
- Docs: https://raft-design.botiverse.build/foundations/typography/
|
|
9
|
+
|
|
1
10
|
## [0.63.0](https://github.com/botiverse/raft-design/compare/v0.62.0...v0.63.0) (2026-11-05)
|
|
2
11
|
|
|
3
12
|
### Added
|
package/dist/fonts.css
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
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.
|
|
4
|
+
machines write. Arial / Helvetica Neue cover Cyrillic before the CJK faces,
|
|
5
|
+
whose Cyrillic glyphs can have wide advances. Keep system-ui after the CJK
|
|
6
|
+
families so it does not override their language-specific glyph shapes.
|
|
7
|
+
CJK falls back to PingFang / Source Han Sans; a Traditional
|
|
5
8
|
Chinese, Japanese or Korean page (<html lang="zh-TW|ja|ko">) falls back to its
|
|
6
9
|
own faces first, so characters keep Traditional or Japanese glyph shapes and
|
|
7
10
|
Hangul a Korean face. */
|
|
8
11
|
:where(:root) {
|
|
9
12
|
--heading-font:
|
|
10
|
-
"Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
11
|
-
system-ui, sans-serif;
|
|
13
|
+
"Space Grotesk", Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
14
|
+
"Noto Sans SC", system-ui, sans-serif;
|
|
12
15
|
--sans-font:
|
|
13
|
-
"Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
14
|
-
system-ui, sans-serif;
|
|
16
|
+
"Space Grotesk", Arial, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
17
|
+
"Noto Sans SC", system-ui, sans-serif;
|
|
15
18
|
--mono-font: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
:where(:root:lang(zh-TW), :root:lang(zh-HK), :root:lang(zh-MO), :root:lang(zh-Hant)) {
|
|
19
22
|
--heading-font:
|
|
20
|
-
"Space Grotesk", "
|
|
21
|
-
"Noto Sans CJK TC", system-ui, sans-serif;
|
|
23
|
+
"Space Grotesk", Arial, "Helvetica Neue", "PingFang TC", "Microsoft JhengHei UI",
|
|
24
|
+
"Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
|
|
22
25
|
--sans-font:
|
|
23
|
-
"Space Grotesk", "
|
|
24
|
-
"Noto Sans CJK TC", system-ui, sans-serif;
|
|
26
|
+
"Space Grotesk", Arial, "Helvetica Neue", "PingFang TC", "Microsoft JhengHei UI",
|
|
27
|
+
"Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
:where(:root:lang(ja)) {
|
|
28
31
|
--heading-font:
|
|
29
|
-
"Space Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
|
|
30
|
-
"Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
|
|
32
|
+
"Space Grotesk", Arial, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
|
|
33
|
+
"Yu Gothic UI", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
|
|
31
34
|
--sans-font:
|
|
32
|
-
"Space Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
|
|
33
|
-
"Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
|
|
35
|
+
"Space Grotesk", Arial, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
|
|
36
|
+
"Yu Gothic UI", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
:where(:root:lang(ko)) {
|
|
37
40
|
--heading-font:
|
|
38
|
-
"Space Grotesk", "Apple SD Gothic Neo", "Malgun Gothic",
|
|
39
|
-
system-ui, sans-serif;
|
|
41
|
+
"Space Grotesk", Arial, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic",
|
|
42
|
+
"Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
|
|
40
43
|
--sans-font:
|
|
41
|
-
"Space Grotesk", "Apple SD Gothic Neo", "Malgun Gothic",
|
|
42
|
-
system-ui, sans-serif;
|
|
44
|
+
"Space Grotesk", Arial, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic",
|
|
45
|
+
"Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
|
|
43
46
|
}
|