use super::*;
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Style {
#[get(type(copy))]
pub(crate) layout: LayoutStyle,
#[get(type(copy))]
pub(crate) paint: PaintStyle,
#[get(type(copy))]
pub(crate) text: TextStyle,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct ResponsiveStyle {
#[get(type(copy))]
pub(crate) base: Style,
#[new(skip)]
#[get(skip)]
pub(crate) compact: Option<Style>,
#[new(skip)]
#[get(skip)]
pub(crate) medium: Option<Style>,
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Width(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Height(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct MinWidth(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct MinHeight(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct MaxWidth(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct MaxHeight(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct FlexBasis(pub Length);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct AspectRatio(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Padding(pub Edges);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Margin(pub Edges);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Gap(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct RowGap(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct ColumnGap(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct FlexGrow(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct FlexShrink(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct ZIndex(pub i32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct GridColumns(pub u16);
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Inset(
pub Option<f32>,
pub Option<f32>,
pub Option<f32>,
pub Option<f32>,
);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct Background(pub Color);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Radius(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct FocusRing(pub Border);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct Opacity(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct StopScrollPropagation(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct StopEventPropagation(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct TextColor(pub Color);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct FontSize(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct LineHeight(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct LetterSpacing(pub f32);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct Italic(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct Underline(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct Strikethrough(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct Selectable(pub bool);
#[repr(transparent)]
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub struct SelectionColor(pub Color);