Skip to content

Rebrand primary color to wine red throughout the application#1670

Open
rgbmonk wants to merge 2 commits intoCapSoftware:mainfrom
rgbmonk:claude/rebrand-wine-red-wAfpK
Open

Rebrand primary color to wine red throughout the application#1670
rgbmonk wants to merge 2 commits intoCapSoftware:mainfrom
rgbmonk:claude/rebrand-wine-red-wAfpK

Conversation

@rgbmonk
Copy link

@rgbmonk rgbmonk commented Mar 19, 2026

Replaces all blue brand colors (#4785FF, #005cb1, etc.) with a wine red palette (#800020 primary, #660019, #4d0013 shades) across CSS variables, Tailwind config, desktop theme, and all SVG logo assets.

https://claude.ai/code/session_01TJa1WjLuW2JcC257dkKP71

Greptile Summary

This PR rebrands Cap's primary color palette from blue (#4785FF, #005cb1, etc.) to a wine-red palette (#800020 primary, #660019, #4d0013 shades) across CSS variables, the Tailwind config, the desktop theme, and all SVG/React logo assets. The rebrand is largely consistent and well-executed across the changed files.

Key changes:

  • apps/web/app/globals.css: --primary, --secondary, --tertiary variables and gradient utilities updated to wine-red.
  • apps/desktop/src/styles/theme.css: All --blue-* custom properties updated for both light and dark themes.
  • packages/ui/style/tailwind.config.js: The blue color palette values replaced with wine-red equivalents.
  • All SVG logos and React icon components (Logo.tsx, LogoBadge.tsx) updated to use the new wine-red fill colors.

Issues found:

  • packages/ui-solid/icons/logo-full-dark.svg: The middle ring path (#C9CEDB) was not updated to #D4879A, unlike every other logo variant — leaving a gray ring visually inconsistent with the wine-red outer circle.
  • --blue-* CSS variables and blue.* Tailwind utility classes semantically describe blue but now render wine red throughout the application, which may confuse future contributors.

Confidence Score: 3/5

  • Safe to merge after fixing the missed middle-ring color in the dark logo SVG.
  • The rebrand is straightforward and mostly consistent, but the dark logo variant has a missed color update that creates a visible visual inconsistency between the logo variants. The semantic naming mismatch (blue → wine red) is a maintainability concern but not a runtime blocker. No logic, data, or functionality is affected beyond visual presentation.
  • packages/ui-solid/icons/logo-full-dark.svg — middle ring color not updated to match the rest of the rebranded logo assets.

Important Files Changed

Filename Overview
apps/desktop/src/styles/theme.css All --blue-* CSS custom properties (both light and dark theme) updated from blue to wine-red values; semantically misnamed but values are internally consistent and match the Tailwind config.
apps/web/app/globals.css Primary, secondary, and tertiary CSS variables and gradient colors updated cleanly from blue to wine-red; no regressions detected.
packages/ui-solid/icons/logo-full-dark.svg Outer circle correctly updated to #800020, but the middle ring (#C9CEDB) was left as-is when all other logo variants updated theirs to #D4879A — visual inconsistency in the dark logo.
packages/ui-solid/icons/logo-full.svg Both outer (#800020) and middle (#D4879A) circles correctly rebranded; consistent with logo.svg and the React component equivalents.
packages/ui-solid/icons/logo.svg Both ring colors updated correctly from blue to wine-red palette; no issues.
packages/ui/src/components/icons/Logo.tsx Hardcoded fill colors correctly updated to match the new wine-red palette; consistent with the SVG assets.
packages/ui/src/components/icons/LogoBadge.tsx Hardcoded fill colors correctly updated; consistent with Logo.tsx and the SVG assets.
packages/ui/style/tailwind.config.js The blue color palette values correctly replaced with wine-red hex values matching theme.css, but the key name blue is now semantically misleading for all downstream utility class usage.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["packages/ui/style/tailwind.config.js\nblue.300 = #800020\nblue.400 = #660019"] --> B["Tailwind utility classes\nbg-blue-300, text-blue-400, etc."]
    C["apps/desktop/src/styles/theme.css\n--blue-300: #800020\n--blue-400: #660019"] --> D["Desktop components\nvar(--blue-300), var(--blue-400)"]
    E["apps/web/app/globals.css\n--primary: #800020\n--secondary: #c94060"] --> F["Web components\nvar(--primary), bg-primary, etc."]
    G["SVG / React Icon Assets"] --> G1["logo.svg ✅"]
    G --> G2["logo-full.svg ✅"]
    G --> G3["logo-full-dark.svg ⚠️ middle ring not updated"]
    G --> G4["Logo.tsx ✅"]
    G --> G5["LogoBadge.tsx ✅"]
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: packages/ui-solid/icons/logo-full-dark.svg
Line: 5

Comment:
**Middle ring color not updated in dark logo**

The middle ring path still has `fill="#C9CEDB"` (a neutral gray), while all other logo variants (`logo-full.svg`, `logo.svg`, `Logo.tsx`, `LogoBadge.tsx`) had their equivalent middle ring updated from the legacy light-blue (`#ADC9FF`) to the wine-red toned `#D4879A`. This leaves the dark logo visually inconsistent with the rest of the rebranded assets — a wine-red outer circle paired with a gray middle ring rather than a coordinated pink-red ring.

```suggestion
<path d="M20.0001 33C27.1797 33 33 27.1797 33 20.0001C33 12.8203 27.1797 7 20.0001 7C12.8203 7 7 12.8204 7 20.0001C7 27.1797 12.8204 33 20.0001 33Z" fill="#D4879A"/>
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: packages/ui/style/tailwind.config.js
Line: 93-103

Comment:
**Semantic naming mismatch: `blue` key now holds wine-red values**

The Tailwind `blue` palette key (and correspondingly `--blue-*` CSS custom properties in `theme.css`) now contains wine-red hex values (`#800020`, `#660019`, etc.). Any developer using utility classes like `bg-blue-300`, `text-blue-400`, or referencing `var(--blue-300)` in CSS will be reading wine red, while the name suggests blue. This applies equally to `blue-transparent-*` variants.

The same issue exists in `apps/desktop/src/styles/theme.css` where all `--blue-*` variables are now wine-red values.

While renaming these tokens to `wine`, `brand`, or `red-brand` throughout would require wider changes across the codebase, leaving them as `blue` creates a long-term semantic gap that will confuse contributors. Consider a follow-up task to rename these tokens — or at minimum, add a comment noting the intentional mismatch to prevent confusion.

How can I resolve this? If you propose a fix, please make it concise.

Last reviewed commit: "Merge branch 'main' ..."

Greptile also left 2 inline comments on this PR.

(2/5) Greptile learns from your feedback when you react with thumbs up/down!

claude and others added 2 commits March 19, 2026 18:11
Replaces all blue brand colors (#4785FF, #005cb1, etc.) with a wine red
palette (#800020 primary, #660019, #4d0013 shades) across CSS variables,
Tailwind config, desktop theme, and all SVG logo assets.

https://claude.ai/code/session_01TJa1WjLuW2JcC257dkKP71
<path d="M32 0.25H8C3.71979 0.25 0.25 3.71979 0.25 8V32C0.25 36.2802 3.71979 39.75 8 39.75H32C36.2802 39.75 39.75 36.2802 39.75 32V8C39.75 3.71979 36.2802 0.25 32 0.25Z" stroke="#E7EAF0" stroke-width="0.5"/>
<path d="M20 36C28.8365 36 36 28.8365 36 20C36 11.1635 28.8365 4 20 4C11.1635 4 4 11.1635 4 20C4 28.8365 11.1635 36 20 36Z" fill="#12161F"/>
<path d="M20 36C28.8365 36 36 28.8365 36 20C36 11.1635 28.8365 4 20 4C11.1635 4 4 11.1635 4 20C4 28.8365 11.1635 36 20 36Z" fill="#800020"/>
<path d="M20.0001 33C27.1797 33 33 27.1797 33 20.0001C33 12.8203 27.1797 7 20.0001 7C12.8203 7 7 12.8204 7 20.0001C7 27.1797 12.8204 33 20.0001 33Z" fill="#C9CEDB"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Middle ring color not updated in dark logo

The middle ring path still has fill="#C9CEDB" (a neutral gray), while all other logo variants (logo-full.svg, logo.svg, Logo.tsx, LogoBadge.tsx) had their equivalent middle ring updated from the legacy light-blue (#ADC9FF) to the wine-red toned #D4879A. This leaves the dark logo visually inconsistent with the rest of the rebranded assets — a wine-red outer circle paired with a gray middle ring rather than a coordinated pink-red ring.

Suggested change
<path d="M20.0001 33C27.1797 33 33 27.1797 33 20.0001C33 12.8203 27.1797 7 20.0001 7C12.8203 7 7 12.8204 7 20.0001C7 27.1797 12.8204 33 20.0001 33Z" fill="#C9CEDB"/>
<path d="M20.0001 33C27.1797 33 33 27.1797 33 20.0001C33 12.8203 27.1797 7 20.0001 7C12.8203 7 7 12.8204 7 20.0001C7 27.1797 12.8204 33 20.0001 33Z" fill="#D4879A"/>
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/ui-solid/icons/logo-full-dark.svg
Line: 5

Comment:
**Middle ring color not updated in dark logo**

The middle ring path still has `fill="#C9CEDB"` (a neutral gray), while all other logo variants (`logo-full.svg`, `logo.svg`, `Logo.tsx`, `LogoBadge.tsx`) had their equivalent middle ring updated from the legacy light-blue (`#ADC9FF`) to the wine-red toned `#D4879A`. This leaves the dark logo visually inconsistent with the rest of the rebranded assets — a wine-red outer circle paired with a gray middle ring rather than a coordinated pink-red ring.

```suggestion
<path d="M20.0001 33C27.1797 33 33 27.1797 33 20.0001C33 12.8203 27.1797 7 20.0001 7C12.8203 7 7 12.8204 7 20.0001C7 27.1797 12.8204 33 20.0001 33Z" fill="#D4879A"/>
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +93 to +103
blue: {
50: "#FFE8EC",
100: "#D4879A",
200: "#B05068",
300: "#800020",
400: "#660019",
},
"blue-transparent": {
10: "rgba(128,0,32,0.1)",
20: "rgba(128,0,32,0.2)",
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Semantic naming mismatch: blue key now holds wine-red values

The Tailwind blue palette key (and correspondingly --blue-* CSS custom properties in theme.css) now contains wine-red hex values (#800020, #660019, etc.). Any developer using utility classes like bg-blue-300, text-blue-400, or referencing var(--blue-300) in CSS will be reading wine red, while the name suggests blue. This applies equally to blue-transparent-* variants.

The same issue exists in apps/desktop/src/styles/theme.css where all --blue-* variables are now wine-red values.

While renaming these tokens to wine, brand, or red-brand throughout would require wider changes across the codebase, leaving them as blue creates a long-term semantic gap that will confuse contributors. Consider a follow-up task to rename these tokens — or at minimum, add a comment noting the intentional mismatch to prevent confusion.

Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/ui/style/tailwind.config.js
Line: 93-103

Comment:
**Semantic naming mismatch: `blue` key now holds wine-red values**

The Tailwind `blue` palette key (and correspondingly `--blue-*` CSS custom properties in `theme.css`) now contains wine-red hex values (`#800020`, `#660019`, etc.). Any developer using utility classes like `bg-blue-300`, `text-blue-400`, or referencing `var(--blue-300)` in CSS will be reading wine red, while the name suggests blue. This applies equally to `blue-transparent-*` variants.

The same issue exists in `apps/desktop/src/styles/theme.css` where all `--blue-*` variables are now wine-red values.

While renaming these tokens to `wine`, `brand`, or `red-brand` throughout would require wider changes across the codebase, leaving them as `blue` creates a long-term semantic gap that will confuse contributors. Consider a follow-up task to rename these tokens — or at minimum, add a comment noting the intentional mismatch to prevent confusion.

How can I resolve this? If you propose a fix, please make it concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants