Skip to main content
vibld

Style gallery

Dusklea

Editorial online store site on warm off-white with a chartreuse lead color

Light · Editorial serif · E-commerce · front-end app (local state)

A light style preset for a consumer brand store, serif-led, print-inspired in character. Its look rests on heavy 700-weight display type up to 120px, tight display tracking (-0.031em) and a chartreuse lead color on a warm off-white canvas. Use it as a complete starting point: tokens, type scale, component specs, page rhythm and guardrails are all included.

Build in this styleRead the build prompt

In the builder, open Gallery under the message and search for Dusklea.

What makes it

  • heavy 700-weight display type up to 120px
  • tight display tracking (-0.031em)
  • serif headlines over a sans-serif body
  • short uppercase labels with open tracking
  • rounded 10px controls
  • no shadows; depth comes from surface tone steps
  • very generous vertical spacing between sections

Colors

Calm, literate, considered. Restraint in the palette lets heavy 700-weight display type up to 120px do the talking.

  • canvas#fff4ec
  • surface#f6e6d9
  • text / primary action label#3c422e
  • muted text#52525b
  • divider (decorative), never behind text#e6dbd3
  • input border#a47d60
  • accent#899416
  • primary action fill#d1e030
  • link text#666e10
  • focus ring#818b15
  • supporting accent (decorative), never behind text#9eef80
  • second supporting accent (decorative), never behind text#fbd535

Every checked pair, measured again

SampleWhereRatioNeeds
Aabody text on canvas9.65:14.5:1
Aabody text on surface8.57:14.5:1
Aamuted text on canvas7.14:14.5:1
Aamuted text on surface6.35:14.5:1
Aaprimary action label on fill7.17:14.5:1
Aalink text on canvas5.10:14.5:1
focus ring on canvas3.44:13:1
focus ring on surface3.06:13:1
input border on canvas3.42:13:1
accent icons and active marks on canvas3.07:13:1

Typefaces

uppercase only for short labels, with at least 0.05em tracking; no text below 12px; weights of 300 or lighter only at 24px and above; fonts are open Google Fonts chosen to match the observed letterforms

  • LoraHeadings
  • InterBody

Type scale

120px Lora 700

102px Lora 700

72px Lora 700

46px Lora 700

20px Inter 400

18px Inter 400

16px Inter 400

12px Inter 400

Corners and shadows

  • pills: 9999px
  • images: 20px
  • inputs: 10px
  • buttons: 10px
  • nav-capsule: 32px

No shadows: depth comes from surfaces and lines.

Spacing and imagery

spacious density on a 4px base unit; container 1200px; section gap 64px; card padding 30px; element gap 20px; radii pills 9999px, images 20px, inputs 10px, buttons 10px, nav-capsule 32px; no shadows

Photography, product screenshots, illustration, 3d renders. Use placeholder or generated imagery only; partner marks are neutral placeholders in the muted text color. Product views sit in framed panels with the card radius. Photography is shown under a scrim wherever text overlaps it. Icons are outline style at 20-24px in the text or muted color.

Layout

  1. top navigation: wordmark left, 4-6 text links, primary action right; collapses to a menu sheet under 768px
  2. full-bleed hero with media behind a scrim and the headline anchored lower left
  3. feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
  4. article or story cards with image, kicker, title and date
  5. large framed product view on a tinted surface
  6. alternating two-column text-and-visual blocks
  7. metrics band with three or four large figures and captions
  8. pricing tiers with one highlighted plan and a monthly/yearly toggle
  9. tabbed showcase that swaps a panel per tab
  10. horizontal card rail with previous/next buttons and snap scrolling
  11. closing call-to-action band with heading and primary action
  12. footer with grouped link columns, legal line and social icons
  13. content sits in a 1200px centered container with 24px side padding (16px on mobile)
  14. sections are separated by 64px of vertical space on desktop, roughly half that on mobile

Patterns

  • hero
  • feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
  • article or story cards with image, kicker, title and date
  • large framed product view on a tinted surface
  • alternating two-column text-and-visual blocks
  • metrics band with three or four large figures and captions
  • pricing tiers with one highlighted plan and a monthly/yearly toggle
  • tabbed showcase that swaps a panel per tab
  • horizontal card rail with previous/next buttons and snap scrolling
  • closing call-to-action band with heading and primary action

Components

  • icon button: fill canvas #fff4ec; pill radius
  • primary button: fill #d1e030, label #3c422e; 10px radius; type 16px; uppercase with at least 0.05em tracking
  • secondary button: transparent fill; 10px radius; type 16px
  • carousel: colors: text #3c422e, canvas #fff4ec; 10px radius; 1px border; type 12px
  • product frame: colors: second supporting accent (decorative) #fbd535, supporting accent (decorative) #9eef80
  • hero block: colors: text #3c422e
  • feature card: 20px radius
  • content card: type 20px; no shadow
  • pill badge: colors: text #3c422e; type 13px; uppercase with at least 0.05em tracking
  • text link: colors: text #3c422e; type 16px/500; underlined
  • content card (variant 2): 20px radius; type 20px
  • metric block: colors: supporting accent (decorative) #9eef80, text #3c422e
  • footer: follows the shared tokens

Interactions and states

  • links underline on hover; images fade in on load
  • every interactive element shows a 2px #818b15 focus ring with 2px offset
  • primary action darkens or lightens by one step on hover and keeps its label color
  • card rail scrolls with snap points; previous/next buttons and keyboard arrows move one card
  • navigation collapses to a full-height menu sheet under 768px, trapping focus while open
  • all motion is disabled under prefers-reduced-motion
  • images show a surface-colored placeholder until loaded, with alt text if they fail
  • forms: inline validation, disabled submit while sending, success message and retryable error
  • mobile menu open and closed states
  • hover, focus-visible, active and disabled states for every button style
  • reduced-motion variant with no transitions beyond opacity
  • rail start and end: previous/next buttons disable at the ends
  • out-of-stock product tile with a disabled add button and 'Notify me' alternative
  • cart count badge updates after add

Guardrails

Experience

  • Keep one primary action style (#d1e030 fill, #3c422e label) and use it once per view; secondary actions stay outlined or text-only.
  • Keep the 10px control radius consistent across buttons, inputs and chips.
  • Limit headline sizes to the type scale; the 120px display size appears once per page, in the hero.
  • Separate layers with surface tone and hairlines, not shadows.
  • Keep copy short and concrete: one idea per section, with a heading that states the benefit.

Accessibility

  • Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
  • Focus ring: 2px solid #818b15 with 2px offset on every interactive element.
  • Body text is 16px or larger at 1.5 line height; nothing is smaller than 12px.
  • Decorative colors (dividers and supporting accents) never carry text or the only signal of state.
  • Uppercase labels stay short, use at least 0.05em tracking and keep sentence-case text in the HTML source.
  • The card rail has visible previous/next buttons, is keyboard operable and never auto-advances.
  • Text over photos or gradients sits on a scrim that keeps it at 4.5:1 against the lightest area.
  • Respect prefers-reduced-motion; no parallax or autoplay video without a pause control.
  • Some observed colors were moved to the nearest passing shade of the same hue; use the palette values here, not lighter originals.

Security

  • Validate every form with a shared zod schema on the client and again in the edge function; reject unknown fields.
  • Rate-limit form endpoints per IP and add a honeypot field; store leads in a Supabase table with RLS allowing insert only for anonymous users and select only for staff.
  • Set a strict Content-Security-Policy, self-host fonts and icons, and avoid third-party scripts beyond privacy-friendly analytics.
  • Open external links with rel="noopener noreferrer" and never put secrets or API keys in client code.
  • Checkout goes through a hosted payment provider; the site never handles card data, and prices are re-validated on the server.

Build prompt

The rules every style in the gallery assumes, then this style’s own ten sections, from goal to guardrails. A build in the style also gets its tokens as a file, so the colors and type above are exact.

The rules every style assumes
### How to use these prompts
Paste an entry's build prompt into your coding agent as the first message. Each prompt names its own stack, tokens and acceptance criteria; the rules below apply to all of them and can be prepended once per project.

### Engineering baseline
- TypeScript strict mode, no `any`, small typed components, feature folders, and one source of truth for design tokens (CSS variables consumed by Tailwind).
- Validate every input with a shared zod schema on the client and again on the server or edge function. Never trust client-side checks alone.
- Show loading, empty and error states for every async view. Surface errors in plain language with a retry, and log details to the console in development only.
- Keep secrets out of the bundle. Only publishable keys (for example a Supabase anon key) belong in client code; service-role keys, API keys and webhooks live in server or edge-function environment variables.

### Data and auth baseline
- Enable Row Level Security on every table before inserting data. Default-deny, then add the narrowest policies the feature needs (for a lead form: insert-only for anonymous users, select for a staff role).
- Store roles in a separate table checked by a security-definer function, never in a user-editable profile field.
- Rate-limit public endpoints (forms, auth, AI calls) and add a honeypot field or captcha to anonymous forms.
- Take payments through a hosted checkout and verify webhooks by signature. Never handle raw card data.

### Accessibility and UX baseline
- Target WCAG 2.2 AA: 4.5:1 contrast for normal text and 3:1 for large text, input borders, focus rings and meaningful icons or chart lines. Every palette in this catalog lists its verified pairs; re-check with a contrast tool after any color change.
- Keep body text at 16px or larger with 1.5 line height, nothing below 12px, no light weights under 24px, and uppercase only for short labels.
- Give every interactive element a visible focus ring, full keyboard support, semantic landmarks, labeled form fields, and alt text on meaningful images.
- Respect `prefers-reduced-motion` for every animation. Give carousels and drag interactions keyboard and button alternatives, and never auto-advance them.
- Build mobile-first and test at 375px, 768px and 1280px.

### Content guardrails
- Use original copy, fictional sample data and placeholder or generated imagery. Do not reuse another product's name, logo, screenshots or marketing text.
- Partner and customer logo rows use neutral placeholder marks. Label demo testimonials and metrics as samples. Collect the minimum personal data a form needs.

### Style preset baseline
- Treat the entry's palette, type scale, radii, spacing and shadows as the complete token set. Do not introduce new colors; derive hover and pressed states by moving one step lighter or darker within the same hue, then re-check contrast.
- Colors marked decorative (dividers, supporting accents) never sit behind text and never carry meaning on their own.
- Fonts are open Google Fonts chosen to match the observed letterforms. Self-host them with `font-display: swap` and keep to the listed weights.
- Keep the signature moves listed for the entry, and keep everything else quiet so they stay recognizable.
- One primary action style per view. Secondary actions are outlined or text-only, and links are distinguishable by more than color (underline or weight).
### Goal
Build a responsive light-theme marketing site for a fictional consumer brand store in the "Dusklea" style: serif-led, print-inspired, with heavy 700-weight display type up to 120px, tight display tracking (-0.031em), serif headlines over a sans-serif body. Use invented copy and placeholder imagery throughout.

### Stack
React 18 + Vite, TypeScript, Tailwind CSS, shadcn/ui (Radix), lucide-react, TanStack Query, Motion, Embla Carousel, zod, Supabase (form submissions only). Design tokens live as CSS variables and are mapped into the Tailwind theme.

### Pages & layout
Home page sections, in order:
- top navigation: wordmark left, 4-6 text links, primary action right; collapses to a menu sheet under 768px
- full-bleed hero with media behind a scrim and the headline anchored lower left
- feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
- article or story cards with image, kicker, title and date
- large framed product view on a tinted surface
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- pricing tiers with one highlighted plan and a monthly/yearly toggle
- tabbed showcase that swaps a panel per tab
- horizontal card rail with previous/next buttons and snap scrolling
- closing call-to-action band with heading and primary action
- footer with grouped link columns, legal line and social icons
- content sits in a 1200px centered container with 24px side padding (16px on mobile)
- sections are separated by 64px of vertical space on desktop, roughly half that on mobile
Also build a simple contact page with a lead form and a 404 page in the same style. Test at 375px, 768px and 1280px.

### Design system
```css
:root {
  --color-canvas: #fff4ec;
  --color-surface: #f6e6d9;
  --color-text: #3c422e;
  --color-muted-text: #52525b;
  --color-divider: #e6dbd3;
  --color-input-border: #a47d60;
  --color-accent: #899416;
  --color-primary-action-fill: #d1e030;
  --color-link-text: #666e10;
  --color-focus-ring: #818b15;
  --color-supporting-accent: #9eef80;
  --color-second-supporting-accent: #fbd535;
  --text-12: 12px;
  --text-16: 16px;
  --text-18: 18px;
  --text-20: 20px;
  --text-46: 46px;
  --text-72: 72px;
  --text-102: 102px;
  --text-120: 120px;
  --radius-pills: 9999px;
  --radius-images: 20px;
  --radius-inputs: 10px;
  --radius-buttons: 10px;
  --radius-nav-capsule: 32px;
  --space-unit: 4px;
}
```
Display Lora, body Inter (Google Fonts, self-hosted, font-display: swap).
Type scale (size/weight/line-height tracking): 12px/400/1.0, 16px/400/1.5, 18px/400/1.5, 20px/400/1.5, 46px/700/1.0 -0.021em, 72px/700/0.9 -0.030em, 102px/700/0.9 -0.030em, 120px/700/0.9 -0.031em.
Spacing: spacious density on a 4px base unit; container 1200px; section gap 64px; card padding 30px; element gap 20px; radii pills 9999px, images 20px, inputs 10px, buttons 10px, nav-capsule 32px; no shadows.
Signature moves: heavy 700-weight display type up to 120px; tight display tracking (-0.031em); serif headlines over a sans-serif body; short uppercase labels with open tracking; rounded 10px controls; no shadows; depth comes from surface tone steps; very generous vertical spacing between sections.

### Components & interactions
- **icon button**: fill canvas #fff4ec; pill radius
- **primary button**: fill #d1e030, label #3c422e; 10px radius; type 16px; uppercase with at least 0.05em tracking
- **secondary button**: transparent fill; 10px radius; type 16px
- **carousel**: colors: text #3c422e, canvas #fff4ec; 10px radius; 1px border; type 12px
- **product frame**: colors: second supporting accent (decorative) #fbd535, supporting accent (decorative) #9eef80
- **hero block**: colors: text #3c422e
- **feature card**: 20px radius
- **content card**: type 20px; no shadow
- **pill badge**: colors: text #3c422e; type 13px; uppercase with at least 0.05em tracking
- **text link**: colors: text #3c422e; type 16px/500; underlined
- **content card (variant 2)**: 20px radius; type 20px
- **metric block**: colors: supporting accent (decorative) #9eef80, text #3c422e
- **footer**: follows the shared tokens
- links underline on hover; images fade in on load
- every interactive element shows a 2px #818b15 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- card rail scrolls with snap points; previous/next buttons and keyboard arrows move one card
- navigation collapses to a full-height menu sheet under 768px, trapping focus while open
- all motion is disabled under prefers-reduced-motion

### Data & state
Content comes from typed local collections: Feature{icon, title, body}, Plan{name, monthlyPrice, yearlyPrice, features[], highlighted}, Post{slug, title, kicker, excerpt, coverUrl, publishedAt}, Product{slug, name, price, imageUrl, alt, inStock, swatches[]}, Metric{value, label}, Lead{email, name?, message?, createdAt}. The lead form posts to a Supabase edge function. Handle these states:
- images show a surface-colored placeholder until loaded, with alt text if they fail
- forms: inline validation, disabled submit while sending, success message and retryable error
- mobile menu open and closed states
- hover, focus-visible, active and disabled states for every button style
- reduced-motion variant with no transitions beyond opacity
- rail start and end: previous/next buttons disable at the ends
- out-of-stock product tile with a disabled add button and 'Notify me' alternative
- cart count badge updates after add

### Accessibility
- Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
- Focus ring: 2px solid #818b15 with 2px offset on every interactive element.
- Body text is 16px or larger at 1.5 line height; nothing is smaller than 12px.
- Decorative colors (dividers and supporting accents) never carry text or the only signal of state.
- Uppercase labels stay short, use at least 0.05em tracking and keep sentence-case text in the HTML source.
- The card rail has visible previous/next buttons, is keyboard operable and never auto-advances.
- Text over photos or gradients sits on a scrim that keeps it at 4.5:1 against the lightest area.
- Respect prefers-reduced-motion; no parallax or autoplay video without a pause control.
- Some observed colors were moved to the nearest passing shade of the same hue; use the palette values here, not lighter originals.
Verified contrast: body text on canvas #3c422e on #fff4ec = 9.65:1; body text on surface #3c422e on #f6e6d9 = 8.57:1; muted text on canvas #52525b on #fff4ec = 7.14:1; muted text on surface #52525b on #f6e6d9 = 6.35:1; primary action label on fill #3c422e on #d1e030 = 7.17:1; link text on canvas #666e10 on #fff4ec = 5.1:1; focus ring on canvas #818b15 on #fff4ec = 3.44:1; focus ring on surface #818b15 on #f6e6d9 = 3.06:1; input border on canvas #a47d60 on #fff4ec = 3.42:1; accent icons and active marks on canvas #899416 on #fff4ec = 3.07:1.

### Security
- Validate every form with a shared zod schema on the client and again in the edge function; reject unknown fields.
- Rate-limit form endpoints per IP and add a honeypot field; store leads in a Supabase table with RLS allowing insert only for anonymous users and select only for staff.
- Set a strict Content-Security-Policy, self-host fonts and icons, and avoid third-party scripts beyond privacy-friendly analytics.
- Open external links with rel="noopener noreferrer" and never put secrets or API keys in client code.
- Checkout goes through a hosted payment provider; the site never handles card data, and prices are re-validated on the server.

### Performance & SEO
- Static generation for every content page; ship no JavaScript to sections that do not need it.
- Images in AVIF/WebP with explicit width and height, lazy-loaded below the fold; preload the hero image and the display font only.
- One h1 per page, descriptive titles and meta descriptions, Open Graph tags with a generated preview image, and a sitemap.
- Target Lighthouse 95+ for performance, accessibility, best practices and SEO.

### Guardrails
- Keep one primary action style (#d1e030 fill, #3c422e label) and use it once per view; secondary actions stay outlined or text-only.
- Keep the 10px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 120px display size appears once per page, in the hero.
- Separate layers with surface tone and hairlines, not shadows.
- Keep copy short and concrete: one idea per section, with a heading that states the benefit.
Acceptance criteria:
- Every color in the build comes from the tokens above and every text pair matches a verified contrast pair.
- The page works with keyboard only, shows a visible focus ring everywhere and passes an automated axe check with no violations.
- No real brand names, logos, product screenshots or copied marketing text appear anywhere.
- Layout holds at 375px with no horizontal scrolling.

Open the builderThe whole gallery