4.8 KiB
4.8 KiB
wave, depends_on, files_modified, autonomous
| wave | depends_on | files_modified | autonomous | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
|
|
true |
Phase 7.1: Frontend UI/UX Overhaul (Industrial Precision) - Implementation Plan
Objective: Implement the "Industrial Precision" design system from DESIGN.md across all frontend pages, ensuring high-contrast signaling, sharp corners (0px radius), and a technical, utilitarian aesthetic while maintaining compliance with mandatory typography rules.
Success Criteria:
- Tailwind configuration updated with the new "Industrial Precision" color palette.
- Global styles updated to enforce 0px border radius (sharp corners) for all components.
- Typography updated to use "Space Grotesk" as the primary font.
- Visual hierarchy achieved through size, color, and spacing (preserving the "NO BOLD" and "NO UPPERCASE" rules from AI_RULES.md).
- StatCards, Buttons, and Inputs reflect the new brutalist/industrial aesthetic.
- All pages (Dashboard, Inventory, Admin, Logs) updated to use the new container and margin system.
Task 1: Update Tailwind Configuration [COMPLETED]
Read First:
DESIGN.mdfor color palette and spacing units.frontend/tailwind.config.tsfor current configuration.
Action:
- Update
tailwind.config.tswith the "Industrial Precision" colors:- Primary:
#F58618(Caution Orange) - Background:
#131313 - Surfaces:
#0A0A0A,#121212,#1A1A1A
- Primary:
- Add "Space Grotesk" to the fontFamily configuration.
- Configure the spacing unit (4px) and 12-column grid.
Acceptance Criteria:
tailwind.config.tsincludes the new color palette.Space Groteskis defined as the default sans font.- Spacing units are aligned with
DESIGN.md.
Task 2: Implement Global Sharp Edges & Borders [COMPLETED]
Read First:
DESIGN.md(Elevation & Depth, Shapes).frontend/styles/globals.css.
Action:
- Update
globals.cssto setborder-radius: 0globally or through Tailwind layer overrides. - Implement the "Bold Borders" style: 1px or 2px solid borders for levels 1 and 2.
- Remove all shadows and blurs, replacing them with tonal layers as per
DESIGN.md.
Acceptance Criteria:
- UI components have sharp 90-degree corners.
- Shadows are removed from the entire application.
- Borders use the specified technical colors (
#222222,#F58618).
Task 3: Component-Level Overhaul (Buttons & Inputs) [COMPLETED]
Read First:
DESIGN.md(Components section).frontend/components/ui/Button.tsx(if it exists, otherwise standard elements).frontend/components/ui/Input.tsx.
Action:
- Update Button styles: Solid
#F58618for primary, transparent with 1px border for secondary. - Update Input styles: Darker background (
#000000), bottom-only or full 1px border. - Ensure no rounded corners and no bold text.
Acceptance Criteria:
- Buttons and Inputs match the "Industrial Precision" visual style.
- Active/Focus states use the Caution Orange border.
Task 4: StatCard & Data Table Refinement [COMPLETED]
Read First:
DESIGN.md(StatCards, Data Tables).AI_RULES.md(StatCard Typography Rule).frontend/components/ui/StatCard.tsx.
Action:
- Refine StatCards to use high-contrast blocks and tight internal padding.
- Ensure numeric values match label size (as per AI_RULES.md) but use color for emphasis.
- Update Data Tables: remove zebra-striping, use 1px horizontal dividers, apply technical headers.
Acceptance Criteria:
- StatCards provide high "glanceability" without overwhelming font sizes.
- Data Tables reflect the "glass cockpit" philosophy with high information density.
Task 5: Layout & Viewport Adjustments [COMPLETED]
Read First:
DESIGN.md(Layout & Spacing).frontend/app/layout.tsx.frontend/app/page.tsxand major route pages.
Action:
- Set the primary viewport margins (24px-32px).
- Ensure main containers use
max-w-7xl(consistent with AI_RULES.md). - Update page headers to match the unified icon box + title standard.
Acceptance Criteria:
- Spacing is compressed internally but framed by generous outer margins.
- All pages feel consistent with the "high-end command center" aesthetic.
Task 6: Final Audit & Rule Alignment [COMPLETED]
Read First:
AI_RULES.mdandGEMINI.md.
Action:
- Audit the new UI for any accidental BOLD or UPPERCASE text.
- Re-verify contrast ratios (7:1 target for status-critical text).
- Ensure "Lucide Icons" are used exclusively.
Acceptance Criteria:
- 100% compliance with AI_RULES.md.
- Visual style perfectly aligns with
DESIGN.mdspirit.