Theme editor
Start from a preset, shape the colors, the type, the radius and the motion, and watch real components follow. Then copy the few lines that make it your theme.
Based on Folio0 changes
Every preset is a complete theme: colors for both modes, fonts, radius, shadows and type scale. Your changes apply on top of it.
The preview renders your theme only, the rest of the page keeps the theme of the docs. A dot marks the values you changed, its arrow brings back the value of the preset.
Each mode has its own palette. The preview and the page follow the mode you edit.
Primary carries the main actions, secondary is a second strong brand color, accent highlights, contrast makes inverted surfaces.
Feedback of the alerts, toasts, badges and form states.
The neutral colors of the page. Keep the text at 4.5:1 on the surface.
Background of the page.
Default text.
Secondary text, placeholders.
Borders and separators.
Backdrop of the dialogs.
Color of the shadows.
Relative shifts the lightness of the base color (fast, follows the color at runtime). Perceptual keeps the hue and the order of the shades with very light or very dark brand colors.
New version
Payment received
Dialogs, toasts and menus open above the page and keep the theme of the docs, unless you apply the theme to the whole site.
Your draft is saved in this browser. See the themes guide for every option of a preset.
Pass the base preset and your changes to the MazUi plugin.
No change yet: the preset alone is enough, preset: 'folio'.
import { folio } from '@maz-ui/themes/presets/folio'
import { MazUi } from 'maz-ui/plugins/maz-ui'
app.use(MazUi, {
theme: {
preset: folio,
overrides: {},
},
})