The Design Library is in Preview and rolling out gradually.
Getting a brand
Two ways to start.Run Initialize
Recommended. Derives your brand from your live shop — colors,
fonts, corners, and logos, grounded in what it already looks like.
Start from scratch
Begin with quiet Frontic defaults and shape every token by hand.
What’s in it
Colors
Colors are grouped by what they’re for, not by what they look like:
The Commerce group is the one that’s unique to Frontic, and it’s the reason experiences come out looking like commerce rather than like a landing-page template. An add-to-cart button is styled from the
buy token even when buy and your primary action currently resolve to the same color — so when you restyle later, the two move independently and the storefront stays correct.
Every color slot has a foreground partner: the color of content sitting on it. The editor checks contrast between the pairs and tells you the ratio and whether it passes AA, so a brand decision that would make text unreadable is caught while you’re making it, not after it ships.
Colors can be organized into folders and renamed. A token can also reference another token instead of carrying its own value — useful when three roles should always move together. References that can’t be resolved block publishing.
Typography
Three roles: Body, Headings, and Code. Each is either a system stack or a custom family, and each carries a full font-family stack rather than a single name. Text styles sit on top — named sizes that ride the scale, so a style either pairs its line height and weight onto a scale step or defines its own.Shape
Base radius drives the wholesm–xl scale. Set it to 0 and everything goes sharp at once.
Borders and shadows are named styles rather than loose values: a border carries a width and a style, a shadow carries one or more layers. Naming them is what lets an agent pick “the card shadow” instead of inventing one.
Logos
Three slots — Desktop, Mobile, and Favicon — pulled from your shop during Initialize. They’re read-only in the Library.Draft and published
The Library edits a draft. Nothing an agent builds with changes until you publish it.- Edits save to the draft as you make them, and the header shows how many tokens differ from the published brand
- Publish creates a new version and makes it the live brand
- Connected experiences pick the new brand up on their next build — publishing a brand never changes anything for shoppers on its own
Version history
Every publish is kept. Restoring an earlier version creates a new draft from it rather than making it live, so a restore is something you look at before it counts. Reset brand goes further back: it restores the original result from Initialize and discards every edit and import since. Published versions stay in history either way.Exporting
The Export dialog gives you the brand in three shapes:
This is how the brand reaches a storefront Studio built, or a codebase that predates Frontic — export once, and your own frontend and your experiences share the same values.
Related
Initialize
Derive the brand from your live shop in one pass.
Experience Designer
The surface that builds exclusively from these tokens.
Rules
The styleguide rule — what each color is for in this shop.
Frontic UI
The component library the token names follow.