fix: 优化页面恢复渲染并统一导航壳配色
- 延迟页面恢复后的版本检查,并移除常驻大面积背景模糊 - 统一侧栏、顶部工具栏和标签栏的导航壳背景色
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
html {
|
||||
@apply text-foreground bg-background font-sans text-[100%];
|
||||
|
||||
background-color: hsl(var(--surface-canvas));
|
||||
font-variation-settings: normal;
|
||||
line-height: 1.15;
|
||||
text-size-adjust: 100%;
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
/* header */
|
||||
--header: 220 18% 12.5%;
|
||||
--nav-surface: 220 18% 12.5%;
|
||||
--nav-shell-surface: var(--nav-surface);
|
||||
--nav-surface-subtle: 219 18% 15.4%;
|
||||
--nav-border: 217 18% 23%;
|
||||
--nav-item-hover: 217 28% 18.8%;
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
/* header */
|
||||
--header: 212 100% 98.7%;
|
||||
--nav-surface: 212 100% 98.7%;
|
||||
--nav-shell-surface: 211.2 86.2% 94.3%;
|
||||
--nav-surface-subtle: 211 84% 97.3%;
|
||||
--nav-border: 214 34% 89%;
|
||||
--nav-item-hover: 211 100% 96.3%;
|
||||
@@ -133,6 +134,8 @@
|
||||
--glass-tint: 212 100% 98.9%;
|
||||
--glass-border: 0 0% 100%;
|
||||
--glass-blur: 20px;
|
||||
/* 常驻大面积表面避免创建高开销背景模糊合成层 */
|
||||
--persistent-surface-backdrop-filter: none;
|
||||
--radius-modal: 20px;
|
||||
--modal-surface: 0 0% 100%;
|
||||
--modal-surface-strong: 0 0% 100%;
|
||||
|
||||
Reference in New Issue
Block a user