Skip to content

Commit

Permalink
feat: Add system accent color to webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Dec 28, 2024
1 parent 2573215 commit af602c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit af602c3

Please sign in to comment.