Skip to main content

Crate liora_theme

Crate liora_theme 

Source
Expand description

Theme tokens for Liora GPUI components.

liora-theme defines the semantic colors, spacing, radius, typography, and component size/variant enums consumed by liora-core and liora-components. Use Theme::light() or Theme::dark() with liora_core::init_liora(...) at app startup.

Structs§

ButtonVariantColors
Public design-token group for Liora button variant colors styling.
ColorFamily
Semantic color family containing base, state, and subtle background tokens.
FontSize
Font-size scale used by typography and compact component variants.
NeutralTokens
Neutral surface, text, border, interaction, and overlay tokens used across components.
Radius
Corner-radius scale used by controls, cards, and overlays.
SecondaryColors
Color tokens for secondary button and low-emphasis surfaces.
Spacing
Spacing scale used by layout and component padding presets.
Theme
Complete Liora visual token set for one color mode.

Enums§

ButtonSize
Options that control button size behavior.
ButtonVariant
Options that control button variant behavior.