blob: d48c6a34c7f2ebe0d7e99d972f768e07e24c8f01 (
plain) (
tree)
|
|
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,
}
|