@manohub/theme 0.6.0 → 0.7.0

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.
@@ -16,6 +16,12 @@
16
16
  * 那样只会多出一枚没人验证的值。
17
17
  */
18
18
  [data-manohub-ui] {
19
+ /* 字族:全库文本基线。取值沿用原入口层 `app-kit` 的 reset 口径(本仓既有实现,非新造)——
20
+ 中文字面优先 `Noto Sans SC`,西文 `Inter`,再退回系统字族。
21
+ 换品牌字族改这一枚即可,`@manohub/ui` 的 reset 与各组件面都只是消费它。 */
22
+ --ui-font-family: 'Noto Sans SC', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
23
+ sans-serif;
24
+
19
25
  /* 密度档位(`micro` 是设计稿最小的实体字阶:表格内 20 高标签的「测试」= 12/15) */
20
26
  --ui-font-micro: 12px;
21
27
  --ui-font-caption: 13px;
@@ -5,6 +5,11 @@
5
5
  * 18/25 为 M 档数值强调)。映射按**规范自己的字号-行高配对**逐个对位,不跨档取近似值。
6
6
  */
7
7
  [data-manohub-ui][data-theme='farris'] {
8
+ /* 字族:**规范没有全局字族槽位**(Farris 的字体由浏览器 / 系统决定,规范只约束字阶与行高),
9
+ 故如实沿用 default 值并在文件内注明 —— 与 `--ui-row-height` / `--ui-mask` 同一处置口径。 */
10
+ --ui-font-family: 'Noto Sans SC', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
11
+ sans-serif;
12
+
8
13
  /* 字号(--mh-font-size-* 对位) */
9
14
  --ui-font-micro: 12px; /* xs:规范 S 档最低一阶(常规正文 / 状态标签) */
10
15
  --ui-font-caption: 13px; /* sm:数字版页签选中文字;本包的树行 / 表格正文档 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manohub/theme",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "AIHub 主题包:纯 CSS 令牌层(全局值),全部锚 [data-manohub-ui] 属性。零运行时依赖、零 JS、零真实样式声明。",