blob: a7f8d11f4903dd5f450593bb87e7586fe6b2275d (
plain) (
tree)
|
|
use iced_core::Color;
pub trait StyleSheet {
type Style: Default;
fn appearance(&self, style: &Self::Style) -> Appearance;
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Appearance {
pub background_color: Color,
pub text_color: Color,
}
|