New project
Check how the background, text and primary color work together. This form does not create or save projects.
Clicks: 0
Changing the base resets colors to the selected theme. Sizes, fonts and status colors also come from that theme.
Lowercase Latin letters, digits and hyphens, up to 32 characters. Use a name different from the built-in themes.
Page background.
Card and panel backgrounds.
Backgrounds for groups, hover and disabled states.
Headings and main interface text.
Labels, hints and placeholder text.
Input and card borders, and separators.
Primary button background. Text, hover and active colors are chosen automatically.
Links, selection and keyboard focus.
Changes are saved in this browser.
Apply this palette to every page. Undo is available in the header; choosing a built-in theme also cancels it.
Colors apply only to this preview.
Check how the background, text and primary color work together. This form does not create or save projects.
Clicks: 0
This checks contrast for several color pairs. Check accessibility of the complete interface separately. Light or dark text is chosen automatically for the primary color; you choose the link color.
Choose agent instructions, JSON settings or CSS to import into your project.
Generate CSS for the Legato UI theme “my-gavia” based on “legato” using the configuration below.
Use createWlTheme from legato-ui/theme or gavia-theme --config theme.json --output theme.css. Both use the same generator.
Keep the versioned config as user input. The base theme determines the color scheme; palette changes determine the generated token bindings.
Apply the base, palette changes and manual overrides in that order. Full mode exports a complete theme; delta mode requires the base theme and brand on the same element.
Keep existing themes, Wl* names and --wl-* tokens. Do not automatically substitute the selected background/primary/link colors.
Run gavia-theme --config theme.json --output theme.css --check. Inspect the reported contrast pairs and actual components, including the Select portal.
The JSON contains inputs, not resolved output. Save it unchanged and regenerate CSS from it.
Theme configuration (JSON v2):
{
"schemaVersion": 2,
"name": "my-gavia",
"baseTheme": "legato",
"palette": {
"background": "#ffffff",
"surface": "#ffffff",
"softSurface": "#f0efff",
"text": "#201e33",
"mutedText": "#4e5765",
"border": "#dce0e4",
"primary": "#343289",
"link": "#343289"
},
"mode": "full"
}Import CSS after the Legato UI styles; set data-wl-theme on html so overlays receive your theme.