1 /*! 2 The style for shapes and text, font, color, etc. 3 */ 4 mod color; 5 pub mod colors; 6 mod font; 7 mod palette; 8 mod shape; 9 mod size; 10 mod text; 11 12 /// Definitions of palettes of accessibility 13 pub use self::palette::*; 14 pub use color::{Color, HSLColor, PaletteColor, RGBAColor, RGBColor}; 15 pub use colors::{BLACK, BLUE, CYAN, GREEN, MAGENTA, RED, TRANSPARENT, WHITE, YELLOW}; 16 17 #[cfg(feature = "full_palette")] 18 pub use colors::full_palette; 19 20 #[cfg(all(not(target_arch = "wasm32"), feature = "ab_glyph"))] 21 pub use font::register_font; 22 pub use font::{ 23 FontDesc, FontError, FontFamily, FontResult, FontStyle, FontTransform, IntoFont, LayoutBox, 24 }; 25 26 pub use shape::ShapeStyle; 27 pub use size::{AsRelative, RelativeSize, SizeDesc}; 28 pub use text::text_anchor; 29 pub use text::{IntoTextStyle, TextStyle}; 30