Expand description
Theme system for OpenKit.
Provides a Tailwind-inspired design token system with light and dark themes.
Structs§
- Border
Radii - Border radius tokens (in rem).
- BoxShadow
- Box shadow definition.
- Shadows
- Shadow tokens.
- Spacing
Scale - Spacing scale (in rem units).
- Tailwind
Palette - Tailwind color palette.
- Theme
Colors - Semantic color tokens for the theme.
- Theme
Data - The complete theme configuration.
- Typography
- Typography tokens.
Enums§
- Theme
- Theme variant (light or dark).
Traits§
- Color
Ext - Extension trait for Color to produce CSS strings.
Functions§
- detect_
system_ theme - Detect the system theme preference.