use crate::tokens::DESIGN_TOKENS;
#[derive(Clone, Debug)]
pub struct ChartControlBarConfig {
pub button_size: f32,
pub button_gap: f32,
pub padding: f32,
pub rounding: f32,
pub offset_x: f32,
pub offset_y: f32,
}
impl Default for ChartControlBarConfig {
fn default() -> Self {
Self {
button_size: DESIGN_TOKENS.sizing.button_sm,
button_gap: DESIGN_TOKENS.spacing.xs,
padding: DESIGN_TOKENS.spacing.sm,
rounding: DESIGN_TOKENS.rounding.button,
offset_x: DESIGN_TOKENS.spacing.lg,
offset_y: DESIGN_TOKENS.spacing.lg,
}
}
}