From af602c30e140a1588d901417d9b6d83a590ed4f6 Mon Sep 17 00:00:00 2001 From: shadow <81448108+shdwmtr@users.noreply.github.com> Date: Sat, 28 Dec 2024 02:02:55 -0400 Subject: [PATCH] feat: Add system accent color to webkit --- assets/core/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/core/main.py b/assets/core/main.py index 38291b8c..f3f48597 100644 --- a/assets/core/main.py +++ b/assets/core/main.py @@ -40,6 +40,11 @@ def get_load_config(): "useInterface": True if millennium.get('Settings', 'useInterface', fallback='') == "yes" else False, }) +def _webkit_accent_color(): + config = cfg.get_config() + + return Colors.get_accent_color(config["accentColor"]) + def update_plugin_status(plugin_name: str, enabled: bool): Millennium.change_plugin_status(plugin_name, enabled)