Cove docs: all pages

Rebrand and theme

Change Cove's name, logo, brand color, fonts and radius to match your product.

Cove ships in warm ember orange. Every component reads its colors from CSS variables, so rebranding is a few edits.

1. Name and details

In config/site.tsx (src/config/site.tsx in the React + Vite edition), change siteConfig.name, description, workspace, searchPlaceholder, askAgent.label and the sample user. Then search the project for "Cove" and change any other place it appears in the interface.

2. Logo and favicon

The logo is a small React SVG component at the top of config/site.tsx. Replace it with your own SVG, and keep stroke="currentColor" or fill="currentColor" so it follows light and dark mode.

Next.js edition

Replace the favicon at app/icon.svg.

React + Vite edition

Replace the favicon at public/favicon.svg.

3. Brand color

Open app/theme.css (src/styles/theme.css in the React + Vite edition). It has a light block (:root) and a dark block (.dark). Set these in both:

VariableUsed for
--brandButtons, links, focus rings, active navigation, chart accents
--brand-foregroundText and icons on top of --brand
--brand-softPale tint for selected rows, badges and highlights
--brand-soft-foregroundText on top of --brand-soft

Values are in oklch(), which keeps tints even across hues. Convert a hex color with any oklch converter, then use a lighter tint for --brand in the dark block.

:root {
  --brand: oklch(0.55 0.2 250);
  --brand-foreground: oklch(0.99 0 0);
  --brand-soft: oklch(0.955 0.03 250);
  --brand-soft-foreground: oklch(0.45 0.18 250);
}
.dark {
  --brand: oklch(0.72 0.15 250);
  --brand-foreground: oklch(0.16 0.02 250);
  --brand-soft: oklch(0.3 0.08 250);
  --brand-soft-foreground: oklch(0.87 0.07 250);
}

4. Surfaces, radius and type

Surfaces, text colors, borders and radius live in globals.css. The sidebar rail sits on --frame, one shade darker than the panel. Radius runs 6, 8, 10, 12 and 16px.

Use the kit's type utilities instead of raw sizes, so screens stay consistent: text-display, text-title, text-heading, text-eyebrow and text-kpi for roles, and text-lead (15px), text-ui (13px), text-micro (11px) and text-badge (10px) for interface text. cn() in lib/utils knows these names, so they merge correctly with color classes.

5. Fonts

Inter and JetBrains Mono are self-hosted through Fontsource, so there are no external font requests.

Next.js edition

Change the Fontsource imports and the --font-inter and --font-mono-face values in app/layout.tsx.

React + Vite edition

Change the Fontsource imports in src/main.tsx and the --font-inter and --font-mono-face values on the <body> tag in index.html.

6. Check it

Open /design in light and dark mode. Buttons, badges, charts and focus rings should all use your color. Then run the build to catch type errors.