VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Palette Namespace Reference

The default theme's colours for center HTML and other text markup. More...

Variables

constexpr std::string_view Accent = "#e1273c"
constexpr std::string_view AccentBright = "#ff4a5c"
constexpr std::string_view Highlight = "#e0a040"
constexpr std::string_view Success = "#4cc26a"
constexpr std::string_view TextDefault = "#f7f4ee"
constexpr std::string_view TextMuted = "#9a9aa4"
constexpr std::string_view TextDisabled = "#5e5e68"

Detailed Description

The default theme's colours for center HTML and other text markup.

Mirrors the tokens of the same names in templates/panorama/blocks/theme.css.j2, so a fallback menu or panel matches the Panorama screens; a CLI test keeps the two equal.

Variable Documentation

◆ Accent

std::string_view VoltMod::Palette::Accent = "#e1273c"
inlineconstexpr

Definition at line 14 of file Palette.hpp.

Referenced by VoltMod::RenderCaptureOverlay(), and VoltMod::RenderFooter().

◆ AccentBright

std::string_view VoltMod::Palette::AccentBright = "#ff4a5c"
inlineconstexpr

Definition at line 15 of file Palette.hpp.

Referenced by VoltMod::RenderItems().

◆ Highlight

std::string_view VoltMod::Palette::Highlight = "#e0a040"
inlineconstexpr

Definition at line 16 of file Palette.hpp.

Referenced by VoltMod::RenderFooter().

◆ Success

std::string_view VoltMod::Palette::Success = "#4cc26a"
inlineconstexpr

Definition at line 17 of file Palette.hpp.

◆ TextDefault

std::string_view VoltMod::Palette::TextDefault = "#f7f4ee"
inlineconstexpr

◆ TextDisabled

std::string_view VoltMod::Palette::TextDisabled = "#5e5e68"
inlineconstexpr

Definition at line 20 of file Palette.hpp.

Referenced by VoltMod::RenderItems().

◆ TextMuted

std::string_view VoltMod::Palette::TextMuted = "#9a9aa4"
inlineconstexpr