New in February 2026 — See what's new
DazlDocs
Building with DazlDesign and Refine

Working with the Theme

Every Dazl project includes a built-in design system with semantic tokens for colors and typography. The AI creates a theme tailored to your project, choosing the semantic color groups, the number of accent colors, and the base palettes based on what you're building. The examples below are just one possibility; your project's theme may look different.

Every Dazl project includes a built-in design system with semantic tokens for colors and typography. The AI creates a theme tailored to your project, choosing the semantic color groups, the number of accent colors, and the base palettes based on what you're building. The examples below are just one possibility; your project's theme may look different.

The Theme panel lets you view and modify these tokens, changing your project's look across every component at once.

How Tokens Work

Design tokens are named values that your project's components reference instead of hardcoded colors or sizes. When you change a token in the Theme panel, every component that uses it updates automatically. This means you can change your brand color once and see it across every button and link, switch between dark and light mode with consistent color relationships, and maintain visual consistency without updating individual components.

The Theme panel showing the Color tab with semantic color groups: Neutral, Accent, Error, Success, Warm, and Warning

Color

The Color tab organizes colors into semantic groups. A project might include groups like:

  • Neutral – backgrounds, text, borders
  • Accent – brand color, interactive elements, highlights
  • Error – error states, destructive actions
  • Success – confirmation, positive states
  • Warm – warm accent tones
  • Warning – caution states

Your project may have fewer groups, more groups, or different names.

Color Scales

Click any color group to expand it and see 12 graded colors plus a Contrast swatch (a white or black that pairs well with the group's colors). Each step maps to a CSS custom property named after the base color. For example, an accent group based on blue uses --blue-1 through --blue-12 plus --blue-contrast.

The Accent color group expanded showing the 12-step scale

Lighter steps (1–4) are typically used for backgrounds, mid steps (5–8) for borders and secondary elements, and darker steps (9–12) for text and primary elements. The Contrast swatch is designed to look good against color 9, which is the highest chroma color in the palette, useful for text on buttons and other high-contrast surfaces.

Changing Brand Colors

To change a color group (for example, shifting your brand accent from blue to lime), click the controls icon next to the group name. A popup appears with a grid of base colors to choose from. Pick one and Dazl regenerates the entire 12-step scale automatically, keeping the relationships between shades consistent.

The base color picker popup showing a grid of available colors with the current color checked

Change the accent color once and see it reflected everywhere: buttons, links, highlights, and interactive elements across the entire project. It's a quick way to explore brand directions.

Press Cmd+Z (Mac) or Ctrl+Z (Windows) to undo a theme change if you don't like the result.

Light and Dark Mode

At the top of the Color tab, use the System / Light / Dark toggle to preview your colors in different modes. This only changes the preview. The color tokens adapt so you can see how your design looks in each mode. To switch the entire editor to light or dark mode, use the project menu at the top left.

The System / Light / Dark toggle at the top of the Color tab

Typography

The Typography tab shows your project's type scales:

  • Display – large, prominent text (hero headlines)
  • Heading – section headings
  • Subheading – secondary headings
  • Body – paragraph text
  • Caption – small labels and metadata
  • Code – monospace text for code snippets

Each scale shows a live preview of the font at its configured size and weight.

The Typography section showing live previews of each type scale

On this page