Priority: MEDIUM
Problem
The codebase mixes three styling approaches inconsistently:
-
CSS Modules (Primary)
Table.css (485 LOC)
Footer.css (219 LOC)
Badge.css (214 LOC)
-
Inline Styles (Common in modals)
style={{ backgroundColor: colors.ui.bgDark, border: \`1px solid \${colors.ui.borderColor}\` }}
-
Tailwind Classes (Layout)
className="flex justify-between gap-1 lg:gap-2 mb-1 rounded-lg"
Issues:
- Inconsistent patterns make code harder to maintain
- Inline styles scattered throughout (especially modals)
- Duplicate gradient definitions across files
- No design system established
Solution
- Standardize on CSS Modules + Tailwind
- Move all inline styles to CSS modules
- Use CSS variables for colors (leverage existing
colorConfig.ts)
- Create shared gradient/style variables
Acceptance Criteria
Related
Parent issue: #45
Priority: MEDIUM
Problem
The codebase mixes three styling approaches inconsistently:
CSS Modules (Primary)
Table.css(485 LOC)Footer.css(219 LOC)Badge.css(214 LOC)Inline Styles (Common in modals)
Tailwind Classes (Layout)
Issues:
Solution
colorConfig.ts)Acceptance Criteria
Related
Parent issue: #45