diff --git a/docs/stories/epic-12-branding-refresh.md b/docs/stories/epic-12-branding-refresh.md index 69c6330..98da096 100644 --- a/docs/stories/epic-12-branding-refresh.md +++ b/docs/stories/epic-12-branding-refresh.md @@ -24,7 +24,7 @@ Update the LIBRA for Rights brand identity by implementing the new square logo w | Color Name | Hex | Usage | |------------|-----|-------| -| Primary (Dark Charcoal) | `#1B1D1A` | Header/Footer backgrounds | +| Primary (Dark Forest Green) | `#2D3624` | Header/Footer backgrounds | | CTA (Warm Gold) | `#A68966` | Buttons, links, accents | | Background (Warm Cream) | `#F4F1EA` | Main page background | | Text (Forest Green) | `#2D322A` | Headings, body text | @@ -35,7 +35,7 @@ Update the LIBRA for Rights brand identity by implementing the new square logo w | Variant | Hex | Usage | |---------|-----|-------| -| Primary Light | `#2D322A` | Primary hover state | +| Primary Light | `#3D4634` | Primary hover state | | CTA Hover | `#8A7555` | Button hover state | | CTA Light | `#C4A882` | Light accent | | Active Hover | `#5A7030` | Active state hover | @@ -116,8 +116,8 @@ Update brand documentation (`docs/brand.md`, `CLAUDE.md`, etc.) to reflect new c ### Color Values for Implementation ```css -/* New Dark Charcoal & Warm Gold Palette */ ---color-primary: #1B1D1A; /* Dark Charcoal - Header/Footer backgrounds */ +/* New Dark Forest Green & Warm Gold Palette */ +--color-primary: #2D3624; /* Dark Forest Green - Header/Footer backgrounds */ --color-cta: #A68966; /* Warm Gold - Buttons, links, accents */ --color-background: #F4F1EA; /* Warm Cream - Main page background */ --color-text: #2D322A; /* Forest Green - Headings, body text */ @@ -125,7 +125,7 @@ Update brand documentation (`docs/brand.md`, `CLAUDE.md`, etc.) to reflect new c --color-active: #4A5D23; /* Olive Green - Active states */ /* Color variants for UI states */ ---color-primary-light: #2D322A; /* Primary hover state */ +--color-primary-light: #3D4634; /* Primary hover state */ --color-cta-hover: #8A7555; /* Button hover state */ --color-cta-light: #C4A882; /* Light accent */ --color-active-hover: #5A7030; /* Active state hover */ @@ -135,7 +135,7 @@ Update brand documentation (`docs/brand.md`, `CLAUDE.md`, etc.) to reflect new c | Element | Color | Hex | |---------|-------|-----| -| Header/Footer Background | Primary | `#1B1D1A` | +| Header/Footer Background | Primary | `#2D3624` | | Main Page Background | Background | `#F4F1EA` | | Card Backgrounds | Card | `#FFFFFF` | | CTA Buttons | CTA | `#A68966` | diff --git a/docs/stories/story-12.2-core-css-theme-update.md b/docs/stories/story-12.2-core-css-theme-update.md index 0bf0c63..35ec49e 100644 --- a/docs/stories/story-12.2-core-css-theme-update.md +++ b/docs/stories/story-12.2-core-css-theme-update.md @@ -157,17 +157,17 @@ Use WebAIM Contrast Checker to verify: ## Dev Checklist -- [ ] Update `@theme` block with new color values -- [ ] Add color variants (hover, light) -- [ ] Update `.btn-primary` styles to use CTA colors -- [ ] Update `.btn-secondary` styles -- [ ] Update form focus states -- [ ] Update link colors -- [ ] Update `.prose-brand` class -- [ ] Update skip-link focus styles -- [ ] Verify status colors unchanged -- [ ] Run contrast checker on all combinations -- [ ] Run `npm run build` successfully +- [x] Update `@theme` block with new color values +- [x] Add color variants (hover, light) +- [x] Update `.btn-primary` styles to use CTA colors +- [x] Update `.btn-secondary` styles +- [x] Update form focus states +- [x] Update link colors +- [x] Update `.prose-brand` class +- [x] Update skip-link focus styles +- [x] Verify status colors unchanged +- [x] Run contrast checker on all combinations +- [x] Run `npm run build` successfully - [ ] Visual test in browser ## Estimation @@ -184,20 +184,33 @@ Use WebAIM Contrast Checker to verify: ## Dev Agent Record ### Agent Model Used -(To be filled during implementation) +Claude Opus 4.5 (claude-opus-4-5-20251101) ### Status -Not Started - Ready for Implementation +Ready for Review ### File List | File | Action | |------|--------| -| `resources/css/app.css` | To be modified | +| `resources/css/app.css` | Modified | ### Change Log | Date | Change | |------|--------| | 2026-01-04 | Story updated with new Dark Charcoal & Warm Gold palette | +| 2026-01-04 | Implemented all color palette changes per AC1-AC8 | +| 2026-01-04 | Updated primary color to #2D3624 (Dark Forest Green) per user request | ### Completion Notes -(To be filled during implementation) +- Updated @theme block with Dark Charcoal & Warm Gold palette (AC1) +- Added all color variants: cta, cta-hover, cta-light, active, active-hover (AC2) +- Updated .btn-primary to use Warm Gold (#A68966) with white text, hover to #8A7555 (AC3) +- Updated .btn-secondary to use Dark Charcoal border with Forest Green text (AC3) +- Updated all form focus states to use Warm Gold (focus:border-cta, focus:ring-cta) (AC4) +- Updated link colors in .prose-brand to use Warm Gold default, Darker Gold hover (AC5) +- Verified status colors unchanged: success=#27AE60, danger=#E74C3C, warning=#F39C12 (AC6) +- Updated .prose-brand class: headings/body use Forest Green, links use Warm Gold (AC8) +- npm run build completed successfully (AC9) +- Maintained backward compatibility aliases for legacy class names +- Updated logo-badge shadow to match new primary color +- All Flux UI form components updated with new focus states diff --git a/docs/stories/story-12.3-blade-component-color-migration.md b/docs/stories/story-12.3-blade-component-color-migration.md index d4a2e40..0949600 100644 --- a/docs/stories/story-12.3-blade-component-color-migration.md +++ b/docs/stories/story-12.3-blade-component-color-migration.md @@ -13,9 +13,9 @@ **Given** `resources/views/components/navigation.blade.php` uses current colors **When** I update the component **Then** the following changes are applied: -- Background: Dark Charcoal (`#1B1D1A` / `bg-primary`) +- Background: Dark Forest Green (`#2D3624` / `bg-primary`) - Text/Links: Warm Cream (`#F4F1EA` / `text-off-white`) for contrast -- Hover states: Use `hover:bg-primary-light` +- Hover states: Use `hover:bg-primary-light` (`#3D4634`) - Mobile menu uses new colors - Active states use Olive Green (`#4A5D23`) @@ -24,7 +24,7 @@ **Given** `resources/views/components/footer.blade.php` uses current colors **When** I update the component **Then** the following changes are applied: -- Background: Dark Charcoal (`#1B1D1A`) +- Background: Dark Forest Green (`#2D3624`) - Text: Warm Cream for contrast - Links: Warm Gold (`#A68966`) with hover states - Social icons: Appropriate contrast colors @@ -164,18 +164,18 @@ Key updates: | Old Class | New Class | Color | |-----------|-----------|-------| -| `bg-primary` (olive) | `bg-primary` | Dark Charcoal `#1B1D1A` | +| `bg-primary` (olive) | `bg-primary` | Dark Forest Green `#2D3624` | | `bg-accent` | `bg-cta` or `bg-cta-light` | Warm Gold / Gold Light | | `text-primary` | `text-cta` | Warm Gold for links | | `text-text` | `text-text` | Forest Green `#2D322A` | | `bg-background` | `bg-background` | Warm Cream `#F4F1EA` | | `bg-white` | `bg-card` | Pure White `#FFFFFF` | -| `hover:bg-primary-hover` | `hover:bg-primary-light` | `#2D322A` | +| `hover:bg-primary-hover` | `hover:bg-primary-light` | `#3D4634` | ### Visual Hierarchy with New Palette **Header/Footer:** -- Background: Dark Charcoal (`#1B1D1A`) +- Background: Dark Forest Green (`#2D3624`) - Text: Warm Cream (`#F4F1EA`) - Links: Warm Cream, hover to Warm Gold @@ -185,7 +185,7 @@ Key updates: - Hover: Gold Hover (`#8A7555`) **Secondary Actions:** -- Border: Dark Charcoal or Warm Gold +- Border: Dark Forest Green or Warm Gold - Text: Forest Green or Warm Gold **Active States (Language Toggle):** @@ -203,8 +203,8 @@ Key updates: ## Dev Checklist -- [ ] Update `navigation.blade.php` - Dark Charcoal bg, Warm Cream text -- [ ] Update `footer.blade.php` - Dark Charcoal bg, Warm Cream text +- [ ] Update `navigation.blade.php` - Dark Forest Green bg, Warm Cream text +- [ ] Update `footer.blade.php` - Dark Forest Green bg, Warm Cream text - [ ] Update `language-toggle.blade.php` - Olive Green active state - [ ] Update `spinner.blade.php` - Warm Gold color - [ ] Update `toast.blade.php` - Warm Gold for info diff --git a/docs/stories/story-12.4-email-template-color-update.md b/docs/stories/story-12.4-email-template-color-update.md index d8c61e6..9d713fc 100644 --- a/docs/stories/story-12.4-email-template-color-update.md +++ b/docs/stories/story-12.4-email-template-color-update.md @@ -18,10 +18,10 @@ |---------|-----------|-----| | Links (`a`) | Warm Gold | `#A68966` | | Headings (h1, h2, h3) | Forest Green | `#2D322A` | -| Header background | Dark Charcoal | `#1B1D1A` | +| Header background | Dark Forest Green | `#2D3624` | | Footer links | Warm Gold | `#A68966` | | Primary button | Warm Gold bg, White text | `#A68966` / `#FFFFFF` | -| Table headers | Dark Charcoal bg, White text | `#1B1D1A` | +| Table headers | Dark Forest Green bg, White text | `#2D3624` | | Panel border | Gold Light | `#C4A882` | | Body text | Forest Green | `#2D322A` | | Body background | Warm Cream | `#F4F1EA` | @@ -31,7 +31,7 @@ **Given** `resources/views/vendor/mail/html/header.blade.php` has inline styles **When** I update the component **Then**: -- Background color updated to Dark Charcoal (`#1B1D1A`) +- Background color updated to Dark Forest Green (`#2D3624`) - Text color: White or Warm Cream - Logo sizing maintained for square format @@ -106,7 +106,7 @@ ```css /* New Color Values */ -#1B1D1A /* Dark Charcoal - Header background, table headers */ +#2D3624 /* Dark Forest Green - Header background, table headers */ #A68966 /* Warm Gold - Links, buttons, accents */ #8A7555 /* Gold Hover - Button hover state */ #C4A882 /* Gold Light - Panel borders, subtle accents */ @@ -128,7 +128,7 @@ Email clients have limited CSS support. Ensure: ```css /* Header */ .header { - background-color: #1B1D1A; + background-color: #2D3624; } /* Links */ @@ -154,7 +154,7 @@ h1, h2, h3 { /* Table Header */ .table th { - background-color: #1B1D1A; + background-color: #2D3624; color: #FFFFFF; } @@ -167,11 +167,11 @@ body { ## Dev Checklist -- [ ] Update `default.css` header background color to `#1B1D1A` +- [ ] Update `default.css` header background color to `#2D3624` - [ ] Update `default.css` link colors to `#A68966` - [ ] Update `default.css` heading colors to `#2D322A` - [ ] Update `default.css` button colors (`.button-primary`) to `#A68966` -- [ ] Update `default.css` table header colors to `#1B1D1A` +- [ ] Update `default.css` table header colors to `#2D3624` - [ ] Update `default.css` panel border color to `#C4A882` - [ ] Update `default.css` footer link colors to `#A68966` - [ ] Update `default.css` body background to `#F4F1EA` diff --git a/docs/stories/story-12.5-pdf-template-color-update.md b/docs/stories/story-12.5-pdf-template-color-update.md index 1d3bc62..7ba9d64 100644 --- a/docs/stories/story-12.5-pdf-template-color-update.md +++ b/docs/stories/story-12.5-pdf-template-color-update.md @@ -13,10 +13,10 @@ **Given** `resources/views/pdf/users-export.blade.php` uses current colors **When** I update the template **Then** the following changes are applied: -- Header background: Dark Charcoal (`#1B1D1A`) +- Header background: Dark Forest Green (`#2D3624`) - Header text: White (`#FFFFFF`) - Accent elements: Warm Gold (`#A68966`) or Gold Light (`#C4A882`) -- Table headers: Dark Charcoal background, white text +- Table headers: Dark Forest Green background, white text - Borders: Gold Light (`#C4A882`) - Body text: Forest Green (`#2D322A`) @@ -25,7 +25,7 @@ **Given** `resources/views/pdf/consultations-export.blade.php` uses current colors **When** I update the template **Then** colors match the new palette: -- Headers: Dark Charcoal background +- Headers: Dark Forest Green background - Status badges: Appropriate contrast colors - Table styling: Gold accents @@ -35,7 +35,7 @@ **When** I update the template **Then** colors match the new palette: - Timeline markers: Warm Gold (`#A68966`) -- Section headers: Dark Charcoal background +- Section headers: Dark Forest Green background - Borders and accents: Gold Light (`#C4A882`) ### AC4: Monthly Report PDF Updated @@ -43,7 +43,7 @@ **Given** `resources/views/pdf/monthly-report.blade.php` uses current colors **When** I update the template **Then** the following changes are applied: -- Header/footer: Dark Charcoal background (`#1B1D1A`) +- Header/footer: Dark Forest Green background (`#2D3624`) - Header/footer text: White - Accent colors: Warm Gold (`#A68966`) - Charts/graphs: Updated color scheme @@ -56,7 +56,7 @@ **Then** chart colors use new palette: - Primary chart color: Warm Gold (`#A68966`) - Secondary: Gold Light (`#C4A882`) -- Tertiary: Dark Charcoal (`#1B1D1A`) +- Tertiary: Dark Forest Green (`#2D3624`) - Quaternary: Olive Green (`#4A5D23`) ### AC6: Print-Friendly Colors @@ -64,7 +64,7 @@ **Given** PDFs are often printed **When** colors are updated **Then** they remain legible when printed: -- Dark Charcoal (`#1B1D1A`) prints as near-black - excellent contrast +- Dark Forest Green (`#2D3624`) prints as dark green/gray - excellent contrast - Warm Gold (`#A68966`) prints as medium tone - good visibility - Sufficient contrast for all text - Consider adding subtle borders for light-colored sections @@ -102,12 +102,12 @@ | Element | New Color | Hex | |---------|-----------|-----| -| Primary Background | Dark Charcoal | `#1B1D1A` | +| Primary Background | Dark Forest Green | `#2D3624` | | Accent/Highlight | Warm Gold | `#A68966` | | Light Accent | Gold Light | `#C4A882` | | Page Background | Warm Cream | `#F4F1EA` | | Text | Forest Green | `#2D322A` | -| Table Header BG | Dark Charcoal | `#1B1D1A` | +| Table Header BG | Dark Forest Green | `#2D3624` | | Table Header Text | White | `#FFFFFF` | | Borders | Gold Light | `#C4A882` | @@ -117,10 +117,10 @@ PDF templates use inline CSS. Common patterns to update: ```html -