Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
cyberpunk_style.h
Go to the documentation of this file.
1#ifndef CYBERPUNK_STYLE_H
2#define CYBERPUNK_STYLE_H
3
4#include <QColor>
5
16public:
22 static void ApplyStyle();
23
27 CyberpunkStyle() = delete;
28
33 static QColor GetPrimaryColor() { return {0, 170, 255}; }
34
39 static QColor GetSecondaryColor() { return {0, 220, 255}; }
40
45 static QColor GetAccentColor() { return {150, 70, 240}; }
46
51 static QColor GetWarningColor() { return {255, 180, 0}; }
52
57 static QColor GetDangerColor() { return {255, 60, 60}; }
58
63 static QColor GetSuccessColor() { return {0, 240, 130}; }
64
69 static QColor GetBackgroundDarkColor() { return {10, 20, 30}; }
70
75 static QColor GetBackgroundMediumColor() { return {20, 35, 50}; }
76
81 static QColor GetBackgroundLightColor() { return {30, 50, 70}; }
82
87 static QColor GetTextColor() { return {220, 230, 240}; }
88
93 static QColor GetMutedTextColor() { return {150, 160, 170}; }
94
101 static QString GetTechBorderStyle(bool is_active = true);
102
108 static QString GetCyberpunkFrameStyle();
109};
110
111#endif // CYBERPUNK_STYLE_H
static QColor GetWarningColor()
Gets the warning color (Warning Yellow).
Definition cyberpunk_style.h:51
static QColor GetSuccessColor()
Gets the success color (Neon Green).
Definition cyberpunk_style.h:63
static QColor GetAccentColor()
Gets the accent color (Purple).
Definition cyberpunk_style.h:45
static QString GetCyberpunkFrameStyle()
Generates a CSS-like style string for a basic cyberpunk-themed frame. Includes background color,...
Definition cyberpunk_style.cpp:138
static QColor GetBackgroundMediumColor()
Gets the medium background color.
Definition cyberpunk_style.h:75
static QColor GetBackgroundDarkColor()
Gets the dark background color.
Definition cyberpunk_style.h:69
static QColor GetTextColor()
Gets the main text color.
Definition cyberpunk_style.h:87
static QColor GetSecondaryColor()
Gets the secondary color (Lighter Blue).
Definition cyberpunk_style.h:39
CyberpunkStyle()=delete
Private constructor to prevent instantiation. This class only provides static members.
static void ApplyStyle()
Applies the cyberpunk style globally to the QApplication. Sets the application style to "Fusion",...
Definition cyberpunk_style.cpp:7
static QString GetTechBorderStyle(bool is_active=true)
Generates a CSS-like border style string with a "tech" look. The border color depends on the is_activ...
Definition cyberpunk_style.cpp:130
static QColor GetPrimaryColor()
Gets the primary color (Neon Blue).
Definition cyberpunk_style.h:33
static QColor GetBackgroundLightColor()
Gets the light background color.
Definition cyberpunk_style.h:81
static QColor GetDangerColor()
Gets the danger color (Danger Red).
Definition cyberpunk_style.h:57
static QColor GetMutedTextColor()
Gets the muted text color (for disabled elements, etc.).
Definition cyberpunk_style.h:93