Skip to content

Commit f832cee

Browse files
Copilotpethers
andauthored
refactor: consolidate dual Tailwind config into single TypeScript config (#1090)
* Initial plan * Remove redundant tailwind.config.js and update documentation references - Delete tailwind.config.js (CommonJS with hardcoded values) - Keep tailwind.config.ts as single source of truth using design tokens - Update docs/DESIGN_SYSTEM.md references to tailwind.config.ts - Update docs/COMPLIANCE_EVIDENCE.md reference to tailwind.config.ts - All values in .js were already present in .ts via design tokens - Build, lint, and all 2467 tests pass Agent-Logs-Url: https://github.com/Hack23/cia-compliance-manager/sessions/dec37b59-86b7-4c63-836d-00fdde58af6d Co-authored-by: pethers <1726836+pethers@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
1 parent c9eecb2 commit f832cee

3 files changed

Lines changed: 3 additions & 111 deletions

File tree

docs/COMPLIANCE_EVIDENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ curl -s https://api.securityscorecards.dev/projects/github.com/Hack23/cia-compli
227227
| 📊 **Evidence Type** | 🎯 **Implementation** |**Current Status** | 🔗 **Evidence Location** |
228228
|---------------------|---------------------|---------------------|------------------------|
229229
| **Design Tokens** | Centralized token system | ✅ Implemented | [Design Tokens](https://github.com/Hack23/cia-compliance-manager/blob/main/src/constants/designTokens.ts) |
230-
| **TailwindCSS Integration** | Extended theme configuration | ✅ Implemented | [tailwind.config.js](https://github.com/Hack23/cia-compliance-manager/blob/main/tailwind.config.js) |
230+
| **TailwindCSS Integration** | Extended theme configuration | ✅ Implemented | [tailwind.config.ts](https://github.com/Hack23/cia-compliance-manager/blob/main/tailwind.config.ts) |
231231
| **Consistent Spacing** | 8px grid system | ✅ Applied | [Design System](./DESIGN_SYSTEM.md) |
232232
| **Typography Scale** | Semantic font sizes | ✅ Implemented | [Design Tokens](https://github.com/Hack23/cia-compliance-manager/blob/main/src/constants/designTokens.ts) |
233233
| **Color Palette** | Semantic color system | ✅ Defined | [Design Tokens](https://github.com/Hack23/cia-compliance-manager/blob/main/src/constants/designTokens.ts) |

docs/DESIGN_SYSTEM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Design System
2626
│ ├── Colors
2727
│ ├── Shadows
2828
│ └── Transitions
29-
├── TailwindCSS Configuration (tailwind.config.js)
29+
├── TailwindCSS Configuration (tailwind.config.ts)
3030
│ └── Extended theme with design tokens
3131
├── CSS Variables (src/styles/variables.css)
3232
│ └── Runtime theming support
@@ -545,7 +545,7 @@ import { WIDGET_DESIGN } from '@/constants/designTokens';
545545

546546
### Files
547547
- **Design Tokens**: `src/constants/designTokens.ts`
548-
- **TailwindCSS Config**: `tailwind.config.js`
548+
- **TailwindCSS Config**: `tailwind.config.ts`
549549
- **CSS Variables**: `src/styles/variables.css`
550550
- **Widget Container**: `src/components/common/WidgetContainer.tsx`
551551

tailwind.config.js

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)