From 01f2acc71878ba23dc9cb886483d75b5d61997db Mon Sep 17 00:00:00 2001 From: senke Date: Fri, 16 Jan 2026 01:51:32 +0100 Subject: [PATCH] docs: generate comprehensive list of all remaining Tailwind default color instances --- EXHAUSTIVE_TODO_LIST.md | 2 + apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md | 6885 +++++++++++++++++ scripts/generate_tailwind_list.py | 140 + 3 files changed, 7027 insertions(+) create mode 100644 apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md create mode 100644 scripts/generate_tailwind_list.py diff --git a/EXHAUSTIVE_TODO_LIST.md b/EXHAUSTIVE_TODO_LIST.md index d61325c04..230dda703 100644 --- a/EXHAUSTIVE_TODO_LIST.md +++ b/EXHAUSTIVE_TODO_LIST.md @@ -3125,8 +3125,10 @@ Critical path dependencies: - ✅ Batch 19 complete: CheckoutView.tsx (20 instances) - ✅ Batch 20 complete: FileManagerView.tsx (20 instances) - ✅ Total: 294 instances migrated (1,492 → 1,198 remaining, ~19.7% complete) + - ✅ **Full instance list generated**: `apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md` (1,169 instances across 203 files) - ⏳ Continuing with remaining files incrementally - **Validation**: No Tailwind default colors used (in progress) + - **Reference**: See `TAILWIND_INSTANCES_FULL_LIST.md` for complete list of all remaining instances - **Rollback**: Restore Tailwind colors - [ ] **Action 9.1.1.4**: Add ESLint rule to prevent Tailwind defaults diff --git a/apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md b/apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md new file mode 100644 index 000000000..4ead4b778 --- /dev/null +++ b/apps/web/docs/TAILWIND_INSTANCES_FULL_LIST.md @@ -0,0 +1,6885 @@ +# Complete List of Remaining Tailwind Default Color Instances +**Generated**: Automatically generated list +**Total Files**: 203 +**Total Instances**: 1169 +**Status**: Action 9.1.1.3 - In Progress (294 instances migrated, ~19.7% complete) + +## Usage +This document lists all remaining Tailwind default color instances organized by file path. +Each entry includes: +- File path +- Line number +- Color classes found +- Full line context + +## Migration Guidelines +Refer to `TAILWIND_COLORS_AUDIT.md` for color mapping: +- `text-gray-*` → `text-kodo-content-dim` or `text-kodo-text-main` +- `bg-gray-*` → `bg-kodo-graphite`, `bg-kodo-ink`, `bg-kodo-steel`, etc. +- `border-gray-*` → `border-kodo-steel` +- `text-blue-*` → `text-kodo-cyan` (when appropriate) +- Other colors: Map to appropriate Kodo design system colors + +## Files with Tailwind Default Colors + +--- + +### apps/web/src/components/ErrorBoundary.tsx +**Total instances in file**: 1 + +- **Line 90**: `bg-gray-`, `bg-gray-` + ```tsx +
+ ``` + +--- + +### apps/web/src/components/admin/AdminDashboardView.tsx +**Total instances in file**: 8 + +- **Line 109**: `text-gray-` + ```tsx + + ``` + +- **Line 113**: `text-gray-` + ```tsx + + ``` + +- **Line 181**: `text-gray-` + ```tsx + Database + ``` + +- **Line 185**: `text-gray-` + ```tsx + Storage + ``` + +- **Line 189**: `text-gray-` + ```tsx + API Latency + ``` + +- **Line 218**: `text-gray-` + ```tsx +
+ ``` + +- **Line 243**: `text-gray-` + ```tsx +
+ ``` + +- **Line 270**: `text-gray-` + ```tsx +
+ ``` + +--- + +### apps/web/src/components/admin/AdminModerationView.tsx +**Total instances in file**: 7 + +- **Line 82**: `text-gray-`, `text-gray-` + ```tsx + className={`pb-3 text-sm font-bold uppercase tracking-wider border-b-2 transition-colors ${activeTab === tab ? 'border-kodo-red text-white' : 'border-transparent text-gray-500 hover:text-gray-300'}`} + ``` + +- **Line 107**: `text-gray-` + ```tsx +
+ ``` + +- **Line 127**: `text-gray-` + ```tsx + + ``` + +- **Line 135**: `text-gray-` + ```tsx +

+ ``` + +- **Line 139**: `text-gray-` + ```tsx +

+ ``` + +- **Line 149**: `bg-red-`, `bg-red-`, `border-red-` + ```tsx + className="bg-red-600 hover:bg-red-700 border-red-500 text-white" + ``` + +- **Line 174**: `text-gray-` + ```tsx + className="text-gray-500 hover:text-white" + ``` + +--- + +### apps/web/src/components/admin/AdminSettingsView.tsx +**Total instances in file**: 6 + +- **Line 40**: `text-gray-` + ```tsx +