summaryrefslogtreecommitdiffstats
path: root/style/src/application.rs
blob: d48c6a34c7f2ebe0d7e99d972f768e07e24c8f01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use iced_core::Color;

pub trait StyleSheet {
    type Style: Default + Copy;

    fn appearance(&self, style: Self::Style) -> Appearance;
}

#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Appearance {
    pub background_color: Color,
    pub text_color: Color,
}