"""Single source of truth for cross-module visual tokens.

The MEL surface stitches together data from RIMS, REP, SME-Hub, Alumni,
and the Repository. Several templates (and the report-builder JS) need
to render a colour dot or fill keyed by module slug. Keeping that map
in one place avoids drift between the Django side and the JS side.

Values are the tailwind-colour suffix (e.g. ``emerald-600``) so the
caller picks the prefix that fits the context — ``bg-{{ ... }}``,
``!bg-{{ ... }}``, ``text-{{ ... }}``, etc.
"""
from __future__ import annotations


MODULE_COLORS: dict[str, str] = {
    "rims": "emerald-600",
    "rep": "sky-600",
    "smehub": "violet-600",
    "alumni": "amber-600",
    "repository": "rose-600",
}
"""Slug → tailwind-colour suffix. Unknown slugs should fall back to
``ruforum-text-muted`` at the call site."""
