fix: WDS colors checks for non-achromatic seeds (dark mode) (#26317)
See also #26168
This commit is contained in:
parent
c108a31a38
commit
68ae2d546f
|
|
@ -121,7 +121,7 @@ export class DarkModeTheme implements ColorModeTheme {
|
|||
color.oklch.c = 0;
|
||||
}
|
||||
|
||||
if (this.seedIsAchromatic) {
|
||||
if (!this.seedIsAchromatic) {
|
||||
color.oklch.c = 0.064;
|
||||
}
|
||||
|
||||
|
|
@ -580,7 +580,7 @@ export class DarkModeTheme implements ColorModeTheme {
|
|||
color.oklch.c = 0;
|
||||
}
|
||||
|
||||
if (this.seedIsAchromatic) {
|
||||
if (!this.seedIsAchromatic) {
|
||||
color.oklch.c = 0.024;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user