Slab color styling starts in Theme settings > Colors. Merchants pick a small set of global colors, then Slab generates additional color tokens (such as accents, shades, neutral, and plain) that sections and blocks can use through color scheme settings.
After you choose your global colors, Slab automatically creates extra color variations so sections and blocks stay visually consistent.
These settings define your store's base color system.
| Setting | What it controls |
|---|---|
| Background | Main storefront background and the base used for generated shade/overlay tones. |
| Foreground | Default text color and default border contrast for base surfaces. |
In Theme settings > Colors > Schemes, you can edit Scheme 1, Scheme 2, and add as many additional schemes as needed.
Each scheme has the same six color fields:
| Setting | How it is applied |
|---|---|
| Background | Main background color for any section or block using that scheme. |
| Foreground | Text/icon color used on top of that scheme background. |
| Border | Default border color for elements using that scheme. |
| Hover background | Hover background for buttons and interactive elements in that scheme. |
| Hover foreground | Hover text/icon color for interactive elements in that scheme. |
| Hover border | Hover border color for interactive elements in that scheme. |
Important: editing a scheme updates every section and block that uses that scheme.
These settings control utility and supporting colors.
| Setting | What it controls |
|---|---|
| Error | Error surfaces and error feedback color. |
| Success | Success surfaces and success feedback color. |
| Mobile bar | Browser UI color on supported mobile browsers. |
| Overlay background | Background shown behind overlays and popups. |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.