@veltra/desktop 1.15.6 → 1.15.7

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.
@@ -325,7 +325,7 @@
325
325
  }
326
326
  .u-nav__sub-expand.is-expanded {
327
327
  transform: rotate(90deg);
328
- color: var(--u-text-color-title);
328
+ color: var(--u-nav-strong-color);
329
329
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s ease;
330
330
  }
331
331
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltra/desktop",
3
- "version": "1.15.6",
3
+ "version": "1.15.7",
4
4
  "homepage": "https://github.com/cabinet-fe/ultra-ui#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/cabinet-fe/ultra-ui/issues"
@@ -184,7 +184,9 @@ $collapsed-nav: collapsed-nav;
184
184
 
185
185
  @include m.is(expanded) {
186
186
  transform: rotate(90deg);
187
- color: fn.use-var(text-color, title);
187
+ // 强调色取 nav 变体 token:深侧栏(浅色主题)底色近黑,全局 text-color/title
188
+ // 会让图标变黑失去对比度;--u-nav-strong-color 各变体下均与展开行强调色一致
189
+ color: var(--u-nav-strong-color);
188
190
  transition:
189
191
  transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
190
192
  color 0.18s ease;