fix: enforce semantic contrast across admin
Local Build and Deploy / deploy (push) Successful in 44s
Local Build and Deploy / deploy (push) Successful in 44s
This commit is contained in:
1 parent
45c8178cfa
commit
f0b4bc1630
86 files changed
+438
-338
No files matched your search
@@ -117,6 +117,23 @@ body {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* Semantic colors: safe across every complete light/dark preset. */
|
||||
.theme-text-muted { color: var(--color-text-muted-readable); }
|
||||
.theme-text-subtle { color: var(--color-text-subtle-readable); }
|
||||
.theme-text-disabled { color: var(--color-text-disabled-readable); }
|
||||
.theme-status-success,
|
||||
.theme-status-warning,
|
||||
.theme-status-error,
|
||||
.theme-status-info {
|
||||
border: 1px solid var(--status-border);
|
||||
background: var(--status-background);
|
||||
color: var(--status-text);
|
||||
}
|
||||
.theme-status-success { --status-border: var(--color-success-border); --status-background: var(--color-success-subtle); --status-text: var(--color-success-text-readable); }
|
||||
.theme-status-warning { --status-border: var(--color-warning-border); --status-background: var(--color-warning-subtle); --status-text: var(--color-warning-text-readable); }
|
||||
.theme-status-error { --status-border: var(--color-error-border); --status-background: var(--color-error-subtle); --status-text: var(--color-error-text-readable); }
|
||||
.theme-status-info { --status-border: var(--color-info-border); --status-background: var(--color-info-subtle); --status-text: var(--color-info-text-readable); }
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 100px;
|
||||
border: 4px solid transparent;
|
||||
|
||||
Reference in new issue
Block a user