VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Palette.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string_view>
4
5/**
6 * @brief The default theme's colours for center HTML and other text markup.
7 *
8 * Mirrors the tokens of the same names in templates/panorama/blocks/theme.css.j2, so a fallback
9 * menu or panel matches the Panorama screens; a CLI test keeps the two equal.
10 */
12{
13
14inline constexpr std::string_view Accent = "#e1273c";
15inline constexpr std::string_view AccentBright = "#ff4a5c";
16inline constexpr std::string_view Highlight = "#e0a040";
17inline constexpr std::string_view Success = "#4cc26a";
18inline constexpr std::string_view TextDefault = "#f7f4ee";
19inline constexpr std::string_view TextMuted = "#9a9aa4";
20inline constexpr std::string_view TextDisabled = "#5e5e68";
21
22} // namespace VoltMod::Palette
The default theme's colours for center HTML and other text markup.
Definition Palette.hpp:12
constexpr std::string_view TextDisabled
Definition Palette.hpp:20
constexpr std::string_view Highlight
Definition Palette.hpp:16
constexpr std::string_view TextDefault
Definition Palette.hpp:18
constexpr std::string_view AccentBright
Definition Palette.hpp:15
constexpr std::string_view TextMuted
Definition Palette.hpp:19
constexpr std::string_view Accent
Definition Palette.hpp:14
constexpr std::string_view Success
Definition Palette.hpp:17