From 0721e95a90a82e699050d28d46e210dc224bee5a Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Mon, 22 Jul 2024 21:18:34 -0600 Subject: [PATCH] Mods --- cromulant/config.py | 4 +++- cromulant/game.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cromulant/config.py b/cromulant/config.py index 98690bb..d8ed3c2 100644 --- a/cromulant/config.py +++ b/cromulant/config.py @@ -56,7 +56,9 @@ class Config: merge_goal: int = 10 manifest_path: Path manifest: dict[str, str] - separator_color: str = "rgb(120, 120, 120)" + separator_color: str = "rgb(111, 111, 111)" + icon_on: str = "✅" + icon_off: str = "❌" @staticmethod def prepare() -> None: diff --git a/cromulant/game.py b/cromulant/game.py index 0bb8ee4..e98fcdd 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -452,10 +452,10 @@ class Game: def make(text: str, enabled: bool) -> QAction: if enabled: - icon = "✅" + icon = Config.icon_on word = "On" else: - icon = "❌" + icon = Config.icon_off word = "Off" return QAction(f"{icon} {text} {word}")