dioxus_element_plug/styles/mod.rs
1//! # Styles Module - Modular Element Plus Style System
2//!
3//! This module organizes the complete Element Plus style system into
4//! modular, maintainable files instead of a single large generated_styles.rs.
5//!
6//! The system includes:
7//! - CSS class constants for all components
8//! - Component CSS generation functions
9//! - Theme system and variables
10//! - Utility classes and helpers
11
12// Core style constants and system
13pub mod core;
14pub mod colors;
15pub mod typography;
16pub mod spacing;
17pub mod borders;
18pub mod shadows;
19pub mod z_index;
20
21// Component style constants
22pub mod component_classes;
23
24// CSS generation functions
25pub mod simple_css_generation;
26pub mod enhanced_css_system;
27
28// Theme system
29pub mod theme;
30
31// Utility classes
32pub mod utilities;
33
34// Enhanced output and complete CSS generation
35pub mod enhanced_output;
36
37// Pre-built CSS snippets
38pub mod css_snippets;
39
40/// Prelude module for easy importing of all style constants and functions
41pub mod prelude {
42 //! Prelude for complete Element Plus style system
43 //!
44 //! Import everything with: `use dioxus_element_plug::styles::prelude::*;`
45
46 // Core system
47 pub use super::core::*;
48 pub use super::colors::*;
49 pub use super::typography::*;
50 pub use super::spacing::*;
51 pub use super::borders::*;
52 pub use super::shadows::*;
53 pub use super::z_index::*;
54
55 // Component classes
56 pub use super::component_classes::*;
57
58 // CSS generation
59 pub use super::simple_css_generation::*;
60
61 // Theme system
62 pub use super::theme::*;
63
64 // Utilities
65 pub use super::utilities::*;
66
67 // Enhanced output
68 pub use super::enhanced_output::*;
69
70 // CSS snippets
71 pub use super::css_snippets::*;
72}