TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_theme.h File Reference
#include <gui_core/style/gui_style_ref.h>
#include <gui_core/style/gui_style.h>
#include <gui_core/style/gui_style_sheet.h>
#include <gui_core/gui_result.h>
#include <gui_core/text/gui_text_system.h>
#include <map>
#include <optional>
#include <set>
#include <span>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  tachyon::AccentColors
 An accent color, one for dark palettes and one for light ones: the theme takes the one that suits the palette it loads. More...
struct  tachyon::AccentPreset
 A named accent, for a settings page. More...
struct  tachyon::ControlStyles
 Default control styles. More...
class  tachyon::GUITheme
 The library's styles, icons and theme metrics, the defaults the controls draw with. More...
struct  tachyon::GUITheme::DropdownParts
 A dropdown trigger's parts, laid out inside its box: its content (an icon, if any, and the text) and then the arrow. More...
struct  tachyon::GUITheme::NodeTints
 How strongly a node view's colors show, each over what's under it (0 to 1): a node's header and the line under it over –node-bg, a state's fill and border over –node-bg, and a frame's box, title bar and border over the canvas. More...

Namespaces

namespace  tachyon

Typedefs

using tachyon::ThemeVariableOverrides = std::map<std::string, std::string, std::less<>>
 Theme variables set in code, by name ("--bg-panel") to a CSS value ("#202020", "6px", "0 4px 12px rgba(0, 0, 0, 0.4)").

Variables

constexpr AccentPreset tachyon::kAccentPresets []
 The accents of the Graphite design: the palettes' own blue, and teal, violet and orange.