summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-01 13:13:21 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-01 13:16:34 +0100
commitd0e94419b55002be6069c0cb206bb40c47681479 (patch)
tree184e957933edd6be43b379a6853a6860f3db338a /style
parent8a0632d5bab68c842189729cbc0ef02adb88a8aa (diff)
downloadiced-d0e94419b55002be6069c0cb206bb40c47681479.tar.gz
iced-d0e94419b55002be6069c0cb206bb40c47681479.tar.bz2
iced-d0e94419b55002be6069c0cb206bb40c47681479.zip
Use strong background for `Secondary` checkbox accent
Diffstat (limited to 'style')
-rw-r--r--style/src/theme.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/theme.rs b/style/src/theme.rs
index e003a93b..166410ae 100644
--- a/style/src/theme.rs
+++ b/style/src/theme.rs
@@ -319,7 +319,7 @@ impl checkbox::StyleSheet for Theme {
Checkbox::Secondary => checkbox_appearance(
palette.background.base.text,
palette.background.base,
- palette.background.weak,
+ palette.background.strong,
is_checked,
),
Checkbox::Success => checkbox_appearance(
@@ -355,7 +355,7 @@ impl checkbox::StyleSheet for Theme {
Checkbox::Secondary => checkbox_appearance(
palette.background.base.text,
palette.background.weak,
- palette.background.weak,
+ palette.background.strong,
is_checked,
),
Checkbox::Success => checkbox_appearance(