fix(theme): dark theme generation affected by previous commit
This commit is contained in:
parent
68becf32c2
commit
1adeadacf6
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ pub fn get_surface_color(
|
|||
) -> Srgba {
|
||||
assert!(step_array.len() == 100);
|
||||
|
||||
is_dark = !is_dark && base_index < 88;
|
||||
is_dark = is_dark || base_index < 88;
|
||||
|
||||
get_index(base_index, steps, step_array.len(), is_dark)
|
||||
.and_then(|i| step_array.get(i).cloned())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue