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

pub trait StyleSheet {
    type Style: Default + Copy;

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

#[derive(Debug, Clone, Copy, Default)]
pub struct Appearance {
    pub color: Option<Color>,
}