Skip to main content

azul_css/props/
mod.rs

1// css/src/props/mod.rs
2
3//! Contains all CSS property definitions, organized by category.
4//!
5//! Submodules:
6//! - [`basic`]: Primitive CSS value types (colors, lengths, percentages, etc.)
7//! - [`layout`]: Layout-related properties (dimensions, overflow, grid, flexbox, etc.)
8//! - [`style`]: Visual style properties (backgrounds, borders, fonts, etc.)
9//! - [`property`]: The core [`property::CssProperty`] enum and its parser
10//! - [`formatter`]: CSS serialization (formatting properties back to CSS strings)
11//!
12//! The [`PixelValueTaker`] trait is re-exported here for external crate use.
13
14// Helper macros used across property modules.
15#[macro_use]
16mod macros;
17
18// Re-export PixelValueTaker trait so external crates can construct dimension types
19pub use macros::PixelValueTaker;
20
21// Public modules for different property categories.
22pub mod basic;
23pub mod layout;
24pub mod style;
25
26// The core CssProperty enum and its parser.
27pub mod property;
28
29// A trait for formatting properties back to CSS strings.
30pub mod formatter;