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
| What | Website (website/) | Dashboard (dashboard/) |
|---|---|---|
| The name | messages/layout/en.json and ar.json | src/config/brand.config.ts, and the page titles in messages/metadata/ |
| Colours | src/styles/theme-variables.css | src/styles/theme-variables.css |
| Logo | public/brand/wordmark.png | public/brand/wordmark.png and public/brand/mark.svg |
| Icons | src/app/favicon.ico, icon.svg, apple-icon.png | src/app/favicon.ico, icon0.svg, icon1.png, apple-icon.png, and the two web-app-manifest files in public/ |
| Sharing picture | public/meta_image.png, named in src/config/site.ts | meta.ogImage in the brand config |
| Wording | messages/ | 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 website's logo, icons and sharing picture
- 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 inWORDMARK_WIDTHandWORDMARK_HEIGHTinsrc/components/Logo.tsx, so it is never stretched. - The browser icons are
favicon.ico,icon.svgandapple-icon.pnginsrc/app/. Replaceicon.svg, then runyarn iconsto 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 insrc/config/site.ts. A guide uses its own cover. - The comic artwork is in
public/art/and the decorations (halftone, rays, stars and bursts) inpublic/decor/.
The website's colours and type
| Token | Role |
|---|---|
--primary and --on-primary | The yellow buttons and the text on them |
--ink, --cream, --yellow, --red, --cyan | The comic palette the panels and artwork draw from |
--background, --surface, --surface-hover | The page and the panels above it |
--text, --text-muted, --border, --border-strong | Text and rules |
--link, --danger, --positive, --focus | Links, 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.ts | Used for |
|---|---|
name | The 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.wordmark | The wordmark on the sign-in pages and in the open sidebar, /brand/wordmark.png |
logo.mark | The mark alone, for the collapsed sidebar and the phone header, /brand/mark.svg |
logo.width, logo.height | The wordmark file's own proportions, so it is never stretched |
meta.keywords, meta.author, meta.ogImage | The page metadata, and the picture shown when a link is shared, with its width and height |
theme.light, theme.dark | The browser's address-bar colour in each mode |
manifest | The installed app's colours and icons |
- Page titles:
messages/metadata/en.jsonandar.json, shown as<page title> | <name>;site.titleis 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, insrc/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, andNEXT_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_FROMin the API's.envis empty.
Rename it with one request, signed in as a Platform admin, and it applies to the next request:
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_FROMto your product's name and an address on your own domain, such asYour 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 seedagain 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.