Rebrand primary color to wine red throughout the application#1670
Rebrand primary color to wine red throughout the application#1670rgbmonk wants to merge 2 commits intoCapSoftware:mainfrom
Conversation
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"/> |
There was a problem hiding this 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.
| <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.| 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)", | ||
| }, |
There was a problem hiding this 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.
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.
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 (#800020primary,#660019,#4d0013shades) 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,--tertiaryvariables 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: Thebluecolor palette values replaced with wine-red equivalents.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 andblue.*Tailwind utility classes semantically describe blue but now render wine red throughout the application, which may confuse future contributors.Confidence Score: 3/5
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
--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.bluecolor palette values correctly replaced with wine-red hex values matching theme.css, but the key nameblueis 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 ✅"]Prompt To Fix All With AI
Last reviewed commit: "Merge branch 'main' ..."
(2/5) Greptile learns from your feedback when you react with thumbs up/down!