fix(theme): increase dark theme lightness threshold to 91 so that the default theme matches designs

This commit is contained in:
Michael Aaron Murphy 2024-04-23 10:56:19 +02:00
parent 1adeadacf6
commit 950a1a54f5
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -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 < 91;
get_index(base_index, steps, step_array.len(), is_dark)
.and_then(|i| step_array.get(i).cloned())