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: String
Primary color
secondary_color: String
Secondary color
text_color: String
Text color
background_color: String
Background color
error_color: String
Error color
success_color: String
Success color
warning_color: String
Warning color
info_color: String
Info color
border_radius: String
Border radius
font_family: String
Font family
font_size: String
Font 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