mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-19 11:59:21 +08:00
fix: 优化亮暗模式下文本可读性
This commit is contained in:
@@ -130,8 +130,12 @@
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.dark .radix-themes {
|
||||
--theme-text-muted-color: rgb(from var(--accent-4) r g b / 0.8);
|
||||
}
|
||||
|
||||
.radix-themes {
|
||||
--theme-text-muted-color: rgb(from var(--accent-4) r g b / 0.7);
|
||||
--theme-text-muted-color: rgb(from var(--accent-12) r g b / 0.8);
|
||||
}
|
||||
|
||||
.theme-text-shadow {
|
||||
@@ -143,7 +147,7 @@
|
||||
}
|
||||
|
||||
.theme-text-muted {
|
||||
@apply text-(--theme-text-muted-color) text-shadow-sm text-shadow-(color:--accent-foreground)/20;
|
||||
@apply text-(--theme-text-muted-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user