Skip to main content

Theme

Type Alias Theme 

Source
pub type Theme = CoreTheme;
Expand description

CoreTheme 的标准别名。

Aliased Type§

pub struct Theme {
Show 29 fields pub background: Color, pub foreground: Color, pub card: Color, pub card_foreground: Color, pub popover: Color, pub popover_foreground: Color, pub primary: Color, pub primary_foreground: Color, pub secondary: Color, pub secondary_foreground: Color, pub muted: Color, pub muted_foreground: Color, pub accent: Color, pub accent_foreground: Color, pub danger: Color, pub danger_foreground: Color, pub success: Color, pub success_foreground: Color, pub warning: Color, pub warning_foreground: Color, pub info: Color, pub info_foreground: Color, pub border: Color, pub input: Color, pub ring: Color, pub sidebar: Color, pub sidebar_foreground: Color, pub list_hover: Color, pub list_active: Color,
}

Fields§

§background: Color§foreground: Color§card: Color§card_foreground: Color§popover: Color§popover_foreground: Color§primary: Color§primary_foreground: Color§secondary: Color§secondary_foreground: Color§muted: Color§muted_foreground: Color§accent: Color§accent_foreground: Color§danger: Color§danger_foreground: Color§success: Color§success_foreground: Color§warning: Color§warning_foreground: Color§info: Color§info_foreground: Color§border: Color§input: Color§ring: Color§sidebar: Color§sidebar_foreground: Color§list_hover: Color§list_active: Color