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