feat: respect accent colors in more places in desktop

This commit is contained in:
2026-05-24 21:29:59 +02:00
parent c731f718e9
commit 96943116f8
12 changed files with 70 additions and 20 deletions
+2 -1
View File
@@ -15,6 +15,7 @@
#include <gui/dialogs.hpp>
#include <gui/clipboard.hpp>
#include <gui/mtk/widgets.hpp>
#include <gui/mtk/settings.hpp>
#include <gui/stb_math.h>
extern "C" {
@@ -692,7 +693,7 @@ static void draw_context_menu(uint32_t* pixels, int W, int H) {
if (!g_ctx_menu.open) return;
Canvas c(pixels, W, H);
mtk::Theme theme = mtk::make_theme(ACCENT);
mtk::Theme theme = mtk::make_theme(mtk::load_system_accent(ACCENT));
theme.border = BORDER_COLOR;
theme.text = TEXT_COLOR;