oa::ui::types::UiStyle
Theme colors and metrics used by all widgets.
Declaration
pub struct UiStyle {Show 19 fields pub background: Color, pub surface: Color, pub surface_hover: Color, pub surface_active: Color, pub accent: Color, pub accent_hover: Color, pub text: Color, pub text_secondary: Color, pub text_disabled: Color, pub border: Color, pub border_strong: Color, pub plot_background: Color, pub plot_surface: Color, pub plot_grid: Color, pub plot_border: Color, pub data_palette: [Color; 6], pub corner_radius: f32, pub padding: f32, pub font_size: f32, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
backgroundColorfieldsurfaceColorfieldsurface_hoverColorfieldsurface_activeColorfieldaccentColorfieldaccent_hoverColorfieldtextColorfieldtext_secondaryColorfieldtext_disabledColorfieldborderColorfieldborder_strongColorfieldplot_backgroundColorfieldplot_surfaceColorfieldplot_gridColorfieldplot_borderColorfielddata_palette[Color; 6]fieldcorner_radiusf32fieldpaddingf32fieldfont_sizef32fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.