dioxus-element-plug 0.1.5

Element UI components for Dioxus applications with pure Rust styling system
//! # Typography System
//!
//! Complete typography system for Element Plus components.

/// Font families
pub const FONT_FAMILY: &str = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'";

/// Font sizes
pub const FONT_SIZE_EXTRA_LARGE: &str = "20px";
pub const FONT_SIZE_LARGE: &str = "18px";
pub const FONT_SIZE_MEDIUM: &str = "16px";
pub const FONT_SIZE_BASE: &str = "14px";
pub const FONT_SIZE_SMALL: &str = "13px";
pub const FONT_SIZE_EXTRA_SMALL: &str = "12px";

/// Font weights
pub const FONT_WEIGHT_PRIMARY: &str = "500";
pub const FONT_WEIGHT_SECONDARY: &str = "400";
pub const FONT_WEIGHT_BOLD: &str = "700";

/// Line heights
pub const FONT_LINE_HEIGHT_PRIMARY: &str = "24px";
pub const FONT_LINE_HEIGHT_SECONDARY: &str = "16px";