wip: Custom palette for built in theme

This commit is contained in:
Ashley Wulber 2022-09-07 11:56:11 -04:00 committed by Héctor Ramón Jiménez
parent 231d2fd845
commit e2166ecad0
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 39 additions and 7 deletions

View file

@ -143,7 +143,7 @@ where
Message: Clone,
Renderer: crate::text::Renderer,
Renderer::Theme: widget::radio::StyleSheet,
V: Copy + Eq,
V: Copy + PartialEq,
{
widget::Radio::new(value, label, selected, on_click)
}

View file

@ -84,7 +84,7 @@ where
f: F,
) -> Self
where
V: Eq + Copy,
V: PartialEq + Copy,
F: FnOnce(V) -> Message,
{
Radio {