mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
Finishes the theme system migration:
- Deletes cmd/skillshare/tui_colors.go entirely (~152 lines). The
tc struct and tcSevStyle/riskLabelStyle/formatRiskBadgeLipgloss
helpers are all replaced by equivalents in internal/theme.
- Migrates last 6 helper-function callers in audit_tui.go and
search_tui.go.
- Adds checkTheme() to doctor.go with warning status on fallback,
wired into runDoctorChecks() after checkSymlinkSupport.
- Adds theme.Get() call early in main() so OSC 11 probe overhead
happens at startup, not during TUI rendering.
After this commit:
- grep 'lipgloss.Color(' cmd/skillshare/ returns only the hardcoded
brand yellow #D4D93C (logo color)
- grep 'tc.|ac.|lc.' cmd/skillshare/ returns only loop variables
- Full build and test suite pass
Refs: #125