fix(small_widget_divider): fix alpha value

This makes this color match the designs, and thus fixes the divider color in the horizontal `segmented_button`.
This commit is contained in:
Vukašin Vojinović 2024-10-08 22:05:27 +02:00 committed by Ashley Wulber
parent 5306649be1
commit 8b37f658e2

View file

@ -186,7 +186,9 @@ impl Theme {
#[allow(clippy::doc_markdown)]
/// get @small_widget_divider
pub fn small_widget_divider(&self) -> Srgba {
self.palette.neutral_9
let mut neutral_9 = self.palette.neutral_9;
neutral_9.alpha = 0.2;
neutral_9
}
// Containers