aboutsummaryrefslogtreecommitdiff
path: root/src/ui/preferences.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-05 19:52:33 +0200
committerhachem <im@hachem.wtf>2026-09-05 19:52:33 +0200
commita92a298684d6e6d497ab7bef98ff1e380a707503 (patch)
treef8df1f67532e90b9635d775d5a9aa87e0dcf0e09 /src/ui/preferences.h
parentc0302d681459214f9c2a845edb64b7f14d213f6a (diff)
feat: ui refactor of doom and despair
Diffstat (limited to 'src/ui/preferences.h')
-rw-r--r--src/ui/preferences.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/preferences.h b/src/ui/preferences.h
index 46a8c3f..b56a46b 100644
--- a/src/ui/preferences.h
+++ b/src/ui/preferences.h
@@ -1,6 +1,7 @@
#pragma once
#include <filesystem>
+#include <string>
namespace Hsdbg
{
@@ -9,9 +10,10 @@ namespace Hsdbg
struct Preferences
{
// appearance
+ std::string theme = "midnight"; // stem of the selected assets/themes/*.toml
float ui_scale = 1.0f; // scales every font, 0.75 - 2.0
- float accent[3] = { 0.30f, 0.72f, 0.78f }; // the teal that runs through the theme
- float rounding = 4.0f; // corner radius on frames, windows, tabs
+ float accent[3] = { 0.302f, 0.714f, 0.769f }; // seeded from the theme, then tweakable
+ float rounding = 6.0f; // corner radius on frames, windows, tabs
bool show_mascot = true; // the crying-pepe in the toolbar
float mascot_scale = 1.6f; // mascot height as a multiple of a button