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