mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
The legacy color constants in internal/ui (Red, Gray, Dim, Bold, Reset, …) were compile-time strings that ignored the theme, so status, doctor, extras list and about twenty other commands printed ANSI codes even with NO_COLOR set. Make them variables and blank them at startup when the theme reports NoColor, so the theme stays the single source of that decision. The two places that hardcoded escape codes (usage and log --stats) now use the same variables.