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:
parent
5306649be1
commit
8b37f658e2
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue