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")]
18pub use colors::full_palette;
19
20#[cfg(all(not(target_arch = "wasm32"), feature = "ab_glyph"))]
21pub use font::register_font;
22pub use font::{
23 FontDesc, FontError, FontFamily, FontResult, FontStyle, FontTransform, IntoFont, LayoutBox,
24};
25
26pub use shape::ShapeStyle;
27pub use size::{AsRelative, RelativeSize, SizeDesc};
28pub use text::text_anchor;
29pub use text::{IntoTextStyle, TextStyle};
30