Use strong background for Secondary checkbox accent
This commit is contained in:
parent
8a0632d5ba
commit
d0e94419b5
1 changed files with 2 additions and 2 deletions
|
|
@ -319,7 +319,7 @@ impl checkbox::StyleSheet for Theme {
|
||||||
Checkbox::Secondary => checkbox_appearance(
|
Checkbox::Secondary => checkbox_appearance(
|
||||||
palette.background.base.text,
|
palette.background.base.text,
|
||||||
palette.background.base,
|
palette.background.base,
|
||||||
palette.background.weak,
|
palette.background.strong,
|
||||||
is_checked,
|
is_checked,
|
||||||
),
|
),
|
||||||
Checkbox::Success => checkbox_appearance(
|
Checkbox::Success => checkbox_appearance(
|
||||||
|
|
@ -355,7 +355,7 @@ impl checkbox::StyleSheet for Theme {
|
||||||
Checkbox::Secondary => checkbox_appearance(
|
Checkbox::Secondary => checkbox_appearance(
|
||||||
palette.background.base.text,
|
palette.background.base.text,
|
||||||
palette.background.weak,
|
palette.background.weak,
|
||||||
palette.background.weak,
|
palette.background.strong,
|
||||||
is_checked,
|
is_checked,
|
||||||
),
|
),
|
||||||
Checkbox::Success => checkbox_appearance(
|
Checkbox::Success => checkbox_appearance(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue