feat: respect accent colors in more places in desktop

This commit is contained in:
daniel committed 2026-05-24 21:29:59 +02:00
1 parent 77ab2d004f
commit 2ea81843d4
12 files changed
+70 -20

No files matched your search

+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;