use crate::tokens::DESIGN_TOKENS;
#[derive(Clone, Debug)]
pub struct AlertDialogConfig {
pub width: f32,
pub height: f32,
pub tab_height: f32,
pub content_padding: f32,
pub row_spacing: f32,
pub label_width: f32,
pub input_width: f32,
pub button_height: f32,
}
impl Default for AlertDialogConfig {
fn default() -> Self {
Self {
width: DESIGN_TOKENS.sizing.dialog.alert_width,
height: DESIGN_TOKENS.sizing.dialog.default_height,
tab_height: DESIGN_TOKENS.sizing.settings_dialog.tab_height,
content_padding: DESIGN_TOKENS.spacing.xl,
row_spacing: DESIGN_TOKENS.spacing.lg,
label_width: DESIGN_TOKENS.sizing.settings_dialog.label_width,
input_width: DESIGN_TOKENS.sizing.settings_dialog.dropdown_width,
button_height: DESIGN_TOKENS.sizing.settings_dialog.button_height,
}
}
}