Light theme with clean white surfaces and purple accents.
More...
#include <Malena/Manifests/Theme.h>
|
| sf::Color | background = sf::Color(20, 20, 20) |
| sf::Color | border = sf::Color(100, 100, 100) |
| sf::Color | borderFocus = sf::Color(100, 60, 200) |
| float | borderThickness = 1.5f |
| sf::Color | disabled = sf::Color(60, 60, 60) |
| sf::Color | error = sf::Color(220, 70, 70) |
| const sf::Font * | font = nullptr |
| unsigned int | fontSize = 14 |
| unsigned int | fontSizeLarge = 18 |
| unsigned int | fontSizeSmall = 11 |
| sf::Color | muted = sf::Color(120, 120, 120) |
| sf::Color | onBackground = sf::Color(220, 220, 220) |
| sf::Color | onDisabled = sf::Color(120, 120, 120) |
| sf::Color | onPrimary = sf::Color::White |
| sf::Color | onSurface = sf::Color::White |
| sf::Color | primary = sf::Color(100, 60, 200) |
| float | radius = 8.f |
| sf::Color | secondary = sf::Color(70, 130, 230) |
| float | spacing = 8.f |
| sf::Color | success = sf::Color(70, 200, 100) |
| sf::Color | surface = sf::Color(40, 40, 40) |
Light theme with clean white surfaces and purple accents.
- See also
- Theme, DarkTheme
Definition at line 183 of file Theme.h.
◆ LightTheme()
| ml::LightTheme::LightTheme |
( |
| ) |
|
|
inline |
◆ background
Page/scene background color.
Definition at line 83 of file Theme.h.
◆ border
Border/outline color for inactive components.
Definition at line 98 of file Theme.h.
◆ borderFocus
Border/outline color for focused components.
Definition at line 101 of file Theme.h.
◆ borderThickness
| float ml::Theme::borderThickness = 1.5f |
|
inherited |
Default border/outline thickness.
Definition at line 138 of file Theme.h.
◆ disabled
Disabled component color.
Definition at line 110 of file Theme.h.
◆ error
Error/invalid state color.
Definition at line 104 of file Theme.h.
◆ font
| const sf::Font* ml::Theme::font = nullptr |
|
inherited |
Default font used by all text-bearing components.
Definition at line 118 of file Theme.h.
◆ fontSize
| unsigned int ml::Theme::fontSize = 14 |
|
inherited |
Base font size in points.
Definition at line 121 of file Theme.h.
◆ fontSizeLarge
| unsigned int ml::Theme::fontSizeLarge = 18 |
|
inherited |
Large font size — headings, titles.
Definition at line 127 of file Theme.h.
◆ fontSizeSmall
| unsigned int ml::Theme::fontSizeSmall = 11 |
|
inherited |
Small font size — descriptions, captions.
Definition at line 124 of file Theme.h.
◆ muted
Muted text — placeholders, disabled labels, descriptions.
Definition at line 95 of file Theme.h.
◆ onBackground
Text/icon color on top of background.
Definition at line 92 of file Theme.h.
◆ onDisabled
Disabled text/icon color.
Definition at line 113 of file Theme.h.
◆ onPrimary
Text/icon color on top of primary.
Definition at line 89 of file Theme.h.
◆ onSurface
Text/icon color on top of surface.
Definition at line 86 of file Theme.h.
◆ primary
Primary brand color — buttons, active states, highlights.
Definition at line 74 of file Theme.h.
◆ radius
| float ml::Theme::radius = 8.f |
|
inherited |
Default corner radius for rounded rectangles and buttons.
Definition at line 132 of file Theme.h.
◆ secondary
Secondary accent color — hover states, secondary actions.
Definition at line 77 of file Theme.h.
◆ spacing
| float ml::Theme::spacing = 8.f |
|
inherited |
Base spacing unit — padding, gaps between elements.
Definition at line 135 of file Theme.h.
◆ success
Success/confirm state color.
Definition at line 107 of file Theme.h.
◆ surface
Surface color — card backgrounds, input backgrounds.
Definition at line 80 of file Theme.h.
The documentation for this struct was generated from the following file: