Skip to the article

CloselineBranding

Branding

Make the Closeline website and dashboard yours: the name, the logo and icons, the colours and type, the sharing picture and the texts.

For the Full Stack package

Where the brand lives

WhatWebsite (website/)Dashboard (dashboard/)
The namemessages/layout/en.json and ar.jsonsrc/config/brand.config.ts, and the page titles in messages/metadata/
Colourssrc/styles/theme-variables.csssrc/styles/theme-variables.css
Logopublic/brand/wordmark.pngpublic/brand/wordmark.png and public/brand/mark.svg
Iconssrc/app/favicon.ico, icon.svg, apple-icon.pngsrc/app/favicon.ico, icon0.svg, icon1.png, apple-icon.png, and the two web-app-manifest files in public/
Sharing picturepublic/meta_image.png, named in src/config/site.tsmeta.ogImage in the brand config
Wordingmessages/messages/

Every colour is a token defined once for the light theme and once for the dark theme. Nothing in the markup holds a colour of its own, so a changed token reaches every page.

The website's name and texts

The website's name is a message, in English and Arabic, under Metadata and Common in messages/layout/en.json and ar.json: siteName, the home page's title and description, brand (the logo's accessible name), homeLink and the footer's copyright.

  • Search messages/ for "Closeline" to catch the rest: the home page, pricing, the guides, the contact page and the legal pages name the product too.
  • Every page's title and description for search engines come from the same message files.
  • The sample workspace the home page's previews show (the pipeline board, the contact, the follow-ups, the chart and the assistant's list) is in src/config/sample-workspace/: replace those figures with your own.
  • The legal pages are sample copy: replace them with your own policies before going live.
  • The header and the footer show public/brand/wordmark.png, one finished image that reads in both themes. Replace it under the same name and set its own width and height in WORDMARK_WIDTH and WORDMARK_HEIGHT in src/components/Logo.tsx, so it is never stretched.
  • The browser icons are favicon.ico, icon.svg and apple-icon.png in src/app/. Replace icon.svg, then run yarn icons to draw the other two from it.
  • The picture shown when a page is shared is public/meta_image.png, at 1200 by 630, named with its size in src/config/site.ts. A guide uses its own cover.
  • The comic artwork is in public/art/ and the decorations (halftone, rays, stars and bursts) in public/decor/.

The website's colours and type

TokenRole
--primary and --on-primaryThe yellow buttons and the text on them
--ink, --cream, --yellow, --red, --cyanThe comic palette the panels and artwork draw from
--background, --surface, --surface-hoverThe page and the panels above it
--text, --text-muted, --border, --border-strongText and rules
--link, --danger, --positive, --focusLinks, errors, success and the keyboard focus ring

All of them are in src/styles/theme-variables.css, once per theme. Check that text on your new brand colour still reads at 4.5 to 1 in both themes. The type is Anton for the display headings and Inter for text, shipped in src/fonts/ (src/fonts/fonts.ts); Arabic pages use Noto Kufi Arabic and IBM Plex Sans Arabic, shipped in public/fonts/. Each font's licence sits beside it.

The website's address

NEXT_PUBLIC_SITE_URL is the base of every canonical address, the language alternates, the sitemap, the robots file and the sharing cards. Set it to your real address before you build for production. NEXT_PUBLIC_DASHBOARD_URL is where Sign in, Start free and the plans' buttons go.

The dashboard's name, logo and colours

Field in src/config/brand.config.tsUsed for
nameThe product name: browser tab titles (Team | Closeline), the installed app's name, the sharing card, the logo's accessible name and the assistant's name (Closeline AI on its page and on its replies)
logo.wordmarkThe wordmark on the sign-in pages and in the open sidebar, /brand/wordmark.png
logo.markThe mark alone, for the collapsed sidebar and the phone header, /brand/mark.svg
logo.width, logo.heightThe wordmark file's own proportions, so it is never stretched
meta.keywords, meta.author, meta.ogImageThe page metadata, and the picture shown when a link is shared, with its width and height
theme.light, theme.darkThe browser's address-bar colour in each mode
manifestThe installed app's colours and icons
  • Page titles: messages/metadata/en.json and ar.json, shown as <page title> | <name>; site.title is the title of a page without its own.
  • Colours: the palette (--ink, --cream, --yellow, --red, --cyan, --white), the surfaces, the text, the rules, the actions (--primary, --link, --focus), the pipeline stages (--stage-lead, --stage-qualified, --stage-proposal, --stage-negotiation) and the chart colours, in src/styles/theme-variables.css, once per theme.
  • Type: Inter for text and Anton for headings in English, IBM Plex Sans Arabic and Noto Kufi Arabic in Arabic, all served from src/fonts/ with their licences.
  • Addresses: NEXT_PUBLIC_BASE_URL, the dashboard's own address, and NEXT_PUBLIC_WEBSITE_URL, the website's.

A rename sets the name in two places: name in this file for the dashboard, and the template API's site_name platform setting for everything the API writes (its emails, invoices, the reports export and the assistant's introduction). The dashboard cannot read that setting, so change both. A few sentences in the message files also say the name: the sign-in and sign-up texts in messages/auth/, the Help description and the copyright in messages/layouts/, and the default page title in messages/metadata/. Edit them in both languages.

The name in emails and invoices

The API takes the product's name from its site_name platform setting, Closeline until you change it, and writes it into:

  • the invitation email's subject, and the password-reset email's subject and text;
  • the invoice PDF's heading and its charge line;
  • the name of the product it creates in Stripe for each plan, such as Closeline Team (monthly, per user);
  • the first line of the exported report CSV;
  • the way the assistant introduces itself (Closeline AI);
  • the mail sender, when SMTP_FROM in the API's .env is empty.

Rename it with one request, signed in as a Platform admin, and it applies to the next request:

Terminal
curl -X PATCH http://localhost:8000/api/settings/site_name \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"value":"Your Product"}'
  • Set SMTP_FROM to your product's name and an address on your own domain, such as Your Product <no-reply@your-domain.com>.
  • A Stripe product made before the rename keeps its old name until you rename it in Stripe's dashboard.
  • Running yarn seed again keeps the name you set.

Wording

Every visible sentence of the two frontends is in their messages/ folders, one folder per area with en.json and ar.json. Rewrite the copy in both files, keeping the keys.

Stuck on a step?

Find a fix before you start over.

Troubleshooting

Cookie Preferences

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies for analytics and personalized advertising.