Skip to main content

teksilo_tokens/
lib.rs

1// SPDX-License-Identifier: MPL-2.0
2// SPDX-FileCopyrightText: 2026 FernTech
3
4pub mod alignment;
5pub mod color;
6pub mod contrast;
7pub mod input;
8pub mod layout;
9pub mod motion;
10pub mod orientation;
11pub mod os_theme_colors;
12pub mod roles;
13pub mod shape;
14pub mod text_style;
15pub mod theme;
16pub mod typography;
17
18pub use alignment::{Alignment, Corner, HAlignment, VAlignment};
19pub use color::Color;
20pub use input::{
21    DensityPolicy, DimensionRole, DragActivation, GestureProfile, GestureTokens, InputTokens,
22    OverscrollStyle, PenKind, PointerKind, PointerKindMask, RevealPolicy, ScrollPhysics,
23    ScrollPhysicsTokens, TargetAxes, TargetDensity, TargetRole,
24};
25pub use layout::LayoutTokens;
26pub use motion::{Easing, MotionTokens, lerp};
27pub use orientation::Orientation;
28pub use os_theme_colors::{ColorSchemePreference, OsThemeColors};
29pub use roles::{BorderRole, SurfaceRole, TextRole, TextStyleRole};
30pub use shape::{CornerRadius, Shadow, ShapeTokens};
31pub use text_style::{FontWeight, TextStyle};
32pub use theme::ColorTokens;
33// Theme aggregator lives in `teksilo-core` (so it can co-locate with the
34// per-widget style trait protocols and the typed slot bag). Apps reach
35// it via `use teksilo_core::Theme` or the umbrella `use teksilo::prelude::*`.
36pub use typography::TypographyTokens;