29 lines
948 B
Python
29 lines
948 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Window geometry
|
|
# ---------------------------------------------------------------------------
|
|
|
|
SIDEBAR_W: int = 190
|
|
APP_TITLE: str = "Arma Mod Manager"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Status colours
|
|
# ---------------------------------------------------------------------------
|
|
|
|
COLOR_OK: str = "#4CAF50"
|
|
COLOR_PENDING: str = "#9E9E9E"
|
|
COLOR_RUNNING: str = "#2196F3"
|
|
COLOR_ERROR: str = "#F44336"
|
|
COLOR_WARN: str = "#FF9800"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Filesystem
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# gui/ lives one level below the project root
|
|
PROJECT_ROOT: Path = Path(__file__).parent.parent
|
|
SELECTION_FILE: Path = PROJECT_ROOT / "selection.json"
|