pub const CORNER_RADIUS: f32 = 8.0;
pub const SMALL_CORNER_RADIUS: f32 = 6.0;
pub const TINY_CORNER_RADIUS: f32 = 4.0;
pub mod style {
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Button {
Primary,
Secondary,
Success,
Warning,
Danger,
Link,
System,
Plain,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Container {
Transparent,
Card,
Sheet,
Group,
Sidebar,
}
impl Default for Button {
fn default() -> Self {
Self::Primary
}
}
impl Default for Container {
fn default() -> Self {
Self::Transparent
}
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum TintedButtonColor {
Blue,
Green,
Red,
Orange,
Purple,
Teal,
Pink,
Indigo,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ButtonSize {
Small,
Medium,
Large,
}