fix: WDS colors checks for non-achromatic seeds (dark mode) (#26317)

See also #26168
This commit is contained in:
vadim 2023-08-14 10:41:23 +02:00 committed by GitHub
parent c108a31a38
commit 68ae2d546f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}