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
@@ -5,6 +5,7 @@
*/
#include "wordprocessor.hpp"
#include <gui/mtk/settings.hpp>
static int wp_ui_line_height() {
if (g_ui_font && g_ui_font->valid)
@@ -38,7 +39,7 @@ static void wp_draw_ui_icon_button(Canvas& c, int x, int y, int w, int h,
static void wp_draw_context_menu(Canvas& c, WordProcessorState* wp) {
if (!wp || !wp->context_menu.open) return;
mtk::Theme theme = mtk::make_theme(colors::ACCENT);
mtk::Theme theme = mtk::make_theme(mtk::load_system_accent());
theme.border = colors::BORDER;
theme.text = colors::TEXT_COLOR;