pub struct Theme {
pub primary_color: String,
pub secondary_color: String,
pub text_color: String,
pub background_color: String,
pub error_color: String,
pub success_color: String,
pub warning_color: String,
pub info_color: String,
pub border_radius: String,
pub font_family: String,
pub font_size: String,
}Expand description
Theme for OrbitKit
Fields§
§primary_color: StringPrimary color
secondary_color: StringSecondary color
text_color: StringText color
background_color: StringBackground color
error_color: StringError color
success_color: StringSuccess color
warning_color: StringWarning color
info_color: StringInfo color
border_radius: StringBorder radius
font_family: StringFont family
font_size: StringFont size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting