feat: follow-up to d93cecb

This commit is contained in:
2025-03-10 08:34:41 +07:00
parent d93cecbea3
commit 0822b46596
3 changed files with 187 additions and 116 deletions

View File

@@ -293,10 +293,7 @@ impl ColorScaleSet {
}
}
pub fn darken(&self, cx: &App) -> Hsla {
match cx.theme().appearance {
Appearance::Light => self.light.step_12(),
Appearance::Dark => self.dark.step_1(),
}
pub fn darken(&self, _cx: &App) -> Hsla {
self.light.step_12()
}
}