@robert-stackflow/oneui 0.6.3 → 0.6.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.4 — 2026-10-29
4
+
5
+ - 极简主题的文字按钮使用前景色,修复深色模式下文字对比度不足;浅深色包消费检查覆盖文字按钮对比度。
6
+
3
7
  ## 0.6.3 — 2026-10-29
4
8
 
5
9
  - 横向 Divider 在居中网格中与文字保持垂直居中,同时保留普通块、纵向弹性布局及 inset 的宽度行为。
@@ -64,7 +64,7 @@
64
64
  border-radius: 2px;
65
65
  background: transparent;
66
66
  box-shadow: none;
67
- color: var(--accent);
67
+ color: var(--link-color, var(--accent));
68
68
  font-size: 13px;
69
69
  line-height: 1.6;
70
70
  text-align: left;
@@ -73,7 +73,10 @@
73
73
  }
74
74
  .link:hover:not(:disabled):not([aria-disabled="true"]) {
75
75
  background: transparent;
76
- color: var(--accent-hover, var(--accent));
76
+ color: var(
77
+ --link-hover-color,
78
+ var(--link-color, var(--accent-hover, var(--accent)))
79
+ );
77
80
  text-decoration: underline;
78
81
  text-underline-offset: 3px;
79
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robert-stackflow/oneui",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "OneUI React components, application shell and portable visual themes",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -11,6 +11,7 @@
11
11
  --hover: #f2f2f2;
12
12
  --selected: #eaeaea;
13
13
  --accent: #303030;
14
+ --link-color: var(--fg);
14
15
  --on-accent: #fff;
15
16
  --navigation: #f6f6f6;
16
17
  --canvas: #fafafa;