Gradient Mesh
A soft colored haze behind plain white cards that stay completely flat.
Construction · Flat
Color and position do all the work. No gradients, no shadows, no edges that pretend to catch light.
Every style renders this same screen, so the only thing changing between two of them is the style. The component above is the file below, running.
Prompt
Design this interface in the Gradient Mesh style. The background is a soft multi-hue haze; everything on top of it is flat white and unremarkable. The contrast between atmospheric ground and plain content is the whole
The numbers in this prompt are printed from the tokens below, so it cannot drift from what the specimen renders.
What carries the look
- soft multi-hue haze
- flat white cards
- no borders
- atmospheric background
What this style refuses
- gradients on the cards themselves
- hard outlines
- busy patterns
- dark heavy shadows
The refusals are the half that keeps generated interfaces from converging — a prompt that only says what to add gets the default look.
Tokens
Palette
#eef0fb#0b0d1a#ffffff#151830#dcdff2#2a2e50#171a2b#eef0fa#555a75#9ba1c4#4f46e5#a5b4fc#ffffff#111234Shape and type
Measured contrast — body 15.17:1 light, 17.01:1 dark; secondary text 5.95:1 and 7.63:1. Every pair clears WCAG AA in both themes, checked on each build.
Specimen · Specimen.tsx
import type { CSSProperties } from "react";
/**
* Vibary · Gradient Mesh
*
* A soft colored haze behind plain white cards that stay completely flat.
*
* One complete product screen, rendered from the token object below —