hikari-components 0.1.5

Core UI components (40+) for the Hikari design system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Theme provider module
//!
//! This module provides the [`ThemeProvider`] component which enables
//! hierarchical theme management across the application.

mod css;
mod provider;
mod registry;
mod traits;

pub use css::{ComponentOverrides, ComponentPalette, PaletteOverrides, ThemePalette};
pub use provider::{
    LayoutDirection, ThemeContext, ThemeProvider, ThemeProviderProps, use_layout_direction,
    use_theme,
};
pub use registry::{get_default_theme, get_registered_theme, prefers_dark_mode, register_theme};
pub use traits::IntoThemeName;