Loading...
Searching...
No Matches
ml::LightTheme Struct Reference

Light theme with clean white surfaces and purple accents. More...

#include <Malena/Manifests/Theme.h>

Inheritance diagram for ml::LightTheme:
[legend]

Public Member Functions

 LightTheme ()

Public Attributes

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::Fontfont = 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)

Detailed Description

Light theme with clean white surfaces and purple accents.

See also
Theme, DarkTheme

Definition at line 183 of file Theme.h.

Constructor & Destructor Documentation

◆ LightTheme()

ml::LightTheme::LightTheme ( )
inline

Definition at line 185 of file Theme.h.

Member Data Documentation

◆ background

sf::Color ml::Theme::background = sf::Color(20, 20, 20)
inherited

Page/scene background color.

Definition at line 83 of file Theme.h.

◆ border

sf::Color ml::Theme::border = sf::Color(100, 100, 100)
inherited

Border/outline color for inactive components.

Definition at line 98 of file Theme.h.

◆ borderFocus

sf::Color ml::Theme::borderFocus = sf::Color(100, 60, 200)
inherited

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

sf::Color ml::Theme::disabled = sf::Color(60, 60, 60)
inherited

Disabled component color.

Definition at line 110 of file Theme.h.

◆ error

sf::Color ml::Theme::error = sf::Color(220, 70, 70)
inherited

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

sf::Color ml::Theme::muted = sf::Color(120, 120, 120)
inherited

Muted text — placeholders, disabled labels, descriptions.

Definition at line 95 of file Theme.h.

◆ onBackground

sf::Color ml::Theme::onBackground = sf::Color(220, 220, 220)
inherited

Text/icon color on top of background.

Definition at line 92 of file Theme.h.

◆ onDisabled

sf::Color ml::Theme::onDisabled = sf::Color(120, 120, 120)
inherited

Disabled text/icon color.

Definition at line 113 of file Theme.h.

◆ onPrimary

sf::Color ml::Theme::onPrimary = sf::Color::White
inherited

Text/icon color on top of primary.

Definition at line 89 of file Theme.h.

◆ onSurface

sf::Color ml::Theme::onSurface = sf::Color::White
inherited

Text/icon color on top of surface.

Definition at line 86 of file Theme.h.

◆ primary

sf::Color ml::Theme::primary = sf::Color(100, 60, 200)
inherited

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

sf::Color ml::Theme::secondary = sf::Color(70, 130, 230)
inherited

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

sf::Color ml::Theme::success = sf::Color(70, 200, 100)
inherited

Success/confirm state color.

Definition at line 107 of file Theme.h.

◆ surface

sf::Color ml::Theme::surface = sf::Color(40, 40, 40)
inherited

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: