pub struct Theme {Show 19 fields
pub bg: Color,
pub fg: Color,
pub accent: Color,
pub accent_bright: Color,
pub muted: Color,
pub surface: Color,
pub surface_bright: Color,
pub error: Color,
pub warning: Color,
pub success: Color,
pub info: Color,
pub border: Color,
pub border_focus: Color,
pub text_primary: Color,
pub text_secondary: Color,
pub text_dim: Color,
pub highlight_bg: Color,
pub highlight_fg: Color,
pub glow: Color,
}Fields§
§bg: Color§fg: Color§accent: Color§accent_bright: Color§muted: Color§surface: Color§surface_bright: Color§error: Color§warning: Color§success: Color§info: Color§border: Color§border_focus: Color§text_primary: Color§text_secondary: Color§text_dim: Color§highlight_bg: Color§highlight_fg: Color§glow: ColorImplementations§
Trait Implementations§
impl Copy for Theme
Source§impl From<&Theme> for ThemeTokens
impl From<&Theme> for ThemeTokens
Source§fn from(value: &Theme) -> ThemeTokens
fn from(value: &Theme) -> ThemeTokens
Converts to this type from the input type.
Source§impl From<AislingPalette> for Theme
impl From<AislingPalette> for Theme
Source§fn from(value: AislingPalette) -> Self
fn from(value: AislingPalette) -> Self
Converts to this type from the input type.
Source§impl From<Theme> for ThemeTokens
impl From<Theme> for ThemeTokens
Source§fn from(value: Theme) -> ThemeTokens
fn from(value: Theme) -> ThemeTokens
Converts to this type from the input type.
Source§impl From<Theme> for AislingPalette
impl From<Theme> for AislingPalette
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more