Set the brand design system; the platform writes the tokens into css/base.css.
Send a style and the colors and typography you chose. Unknown or invalid values fall back to sensible defaults and contrast problems are reported. The managed token block sits between the design-system markers at the top of css/base.css; write your own rules below it and use the tokens.
https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/design-systemRecent Requests
Log in to see full request historyPath Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
stylestringOne of the names from GET /projects/{id}/design-system styles.
colorsobjectHex colors: primary, secondary, accent, bg, surface, text, muted.
typographyobject{ heading, body, heading_weight, body_weight } Google Fonts family names.
brandobject{ name, voice, logo_path }.
Response
Response Body
design_systemobjectThe saved design system.changedarray of stringsStylesheet paths rewritten.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.siteBuilder.updateProjectDesignSystem('<id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "design_system": {}, "changed": [] }}