From ae3f5ba1a33f47692bc39080a0d2e12b8106499f Mon Sep 17 00:00:00 2001 From: Giuliano Bellini s294739 Date: Sat, 27 Jan 2024 21:56:28 +0100 Subject: add border widths to toggler stylesheet --- style/src/theme.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'style/src/theme.rs') diff --git a/style/src/theme.rs b/style/src/theme.rs index 96f91260..e579a1c2 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -797,13 +797,15 @@ impl toggler::StyleSheet for Theme { } else { palette.background.strong.color }, - background_border: None, + background_border_width: 0.0, + background_border_color: Color::TRANSPARENT, foreground: if is_active { palette.primary.strong.text } else { palette.background.base.color }, - foreground_border: None, + foreground_border_width: 0.0, + foreground_border_color: Color::TRANSPARENT, } } Toggler::Custom(custom) => custom.active(self, is_active), -- cgit