feat: add customization for status colors

This commit is contained in:
Ashley Wulber 2023-08-04 12:59:35 -04:00 committed by Ashley Wulber
parent ea09abb892
commit 2dfa9dab5a
4 changed files with 62 additions and 28 deletions

View file

@ -101,9 +101,6 @@ pub struct CosmicPaletteInner<C> {
/// name of the palette
pub name: String,
/// the selected accent color
pub accent: C,
/// basic palette
/// blue: colors used for various points of emphasis in the UI
pub blue: C,
@ -180,7 +177,6 @@ impl From<CosmicPaletteInner<CssColor>> for CosmicPaletteInner<Srgba> {
fn from(p: CosmicPaletteInner<CssColor>) -> Self {
CosmicPaletteInner {
name: p.name,
accent: p.accent.into(),
blue: p.blue.into(),
red: p.red.into(),
green: p.green.into(),