Files
skillshare/cmd
Willie ea2abf0a68 refactor(tui): delete legacy tui_colors.go and add doctor theme check
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
2026-04-10 16:50:08 +08:00
..