fix errors and use accent color

This commit is contained in:
Earthgames 2026-03-07 14:27:39 +01:00
parent 8e20934663
commit a587afe9d4
No known key found for this signature in database
GPG Key ID: 31E97B72E0685E5F
2 changed files with 3 additions and 1 deletions

View File

@ -355,7 +355,7 @@ pub fn construct(ess: &mut ConstructEssentials, params: Params) -> anyhow::Resul
let color_checked = if let Some(color) = params.color_checked {
color
} else {
theme.button_color
theme.accent_color
};
let color_unchecked = if let Some(color) = params.color_unchecked {

View File

@ -91,6 +91,8 @@ pub fn parse_component_checkbox(
radio_group,
value: component_value,
tooltip: tooltip.get_info(),
color_checked: None,
color_unchecked: None,
},
)?;