refactor: cosmic-config granular key updates and remove unused generics from cosmic-theme

This commit is contained in:
Ashley Wulber 2023-12-12 19:53:17 -05:00 committed by Michael Murphy
parent ef657fb19d
commit a4d1b1b651
18 changed files with 233 additions and 699 deletions

View file

@ -520,8 +520,7 @@ impl slider::StyleSheet for Theme {
Slider::Standard =>
//TODO: no way to set rail thickness
{
let cosmic: &cosmic_theme::Theme<palette::Alpha<palette::rgb::Rgb, f32>> =
self.cosmic();
let cosmic: &cosmic_theme::Theme = self.cosmic();
slider::Appearance {
rail: Rail {