feat: respect accent colors in more places in desktop
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user