Skip to main content
vibld

Style gallery

Thistledun

Soft gradient finance product site on off-white with a sparing purple accent

Light · Soft gradient · Fintech · static site

A light, airy, with gradient atmosphere visual system for a payments and finance product. Its look rests on heavy 900-weight display type up to 164px, tight display tracking (-0.033em) and a sparing purple accent on an 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 Thistledun.

What makes it

  • heavy 900-weight display type up to 164px
  • tight display tracking (-0.033em)
  • short uppercase labels with open tracking
  • rounded 16px controls
  • large 16px card corners
  • no shadows; depth comes from surface tone steps
  • one purple accent used sparingly
  • gradient fields used as atmosphere, never behind body text

Colors

Optimistic, light, modern. An off-white ground, heavy 900-weight display type up to 164px and a sparing purple accent set the tone.

  • canvas#f2f2f2
  • surface#ffffff
  • text / primary action label#000000
  • muted text / divider (decorative) / input border#6e6e6e
  • accent / focus ring#f300f7
  • primary action fill / second supporting accent (decorative)#adff02
  • link text#c300c7
  • supporting accent (decorative), never behind text#02bbff

Every checked pair, measured again

SampleWhereRatioNeeds
Aabody text on canvas18.76:14.5:1
Aabody text on surface21.00:14.5:1
Aamuted text on canvas4.55:14.5:1
Aamuted text on surface5.10:14.5:1
Aaprimary action label on fill17.08:14.5:1
Aalink text on canvas4.53:14.5:1
focus ring on canvas3.05:13:1
focus ring on surface3.41:13:1
input border on canvas4.55:13:1
accent icons and active marks on canvas3.05: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

  • InterHeadings
  • InterBody

Type scale

164px Inter 900

85px Inter 900

64px Inter 900

24px Inter 700

20px Inter 700

18px Inter 700

16px Inter 700

14px Inter 700

12px Inter 700

Corners and shadows

  • cards: 16px
  • buttons: 16px
  • hairline: 1px
  • hero-cards: 38px
  • phone-frames: 43px
  • feature-panels: 46px

No shadows: depth comes from surfaces and lines.

Spacing and imagery

comfortable density on a 4px base unit; container 1200px; section gap 96px; card padding 24px; element gap 10px; radii cards 16px, buttons 16px, hairline 1px, hero-cards 38px, phone-frames 43px, feature-panels 46px; no shadows

Photography, illustration, 3d renders, line icons. Use placeholder or generated imagery only; partner marks are neutral placeholders in the muted text color. 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. centered hero: headline, one-line lede and a primary plus secondary action, visual below
  3. feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
  4. tabbed showcase that swaps a panel per tab
  5. testimonial cards with quote, name and role
  6. footer with grouped link columns, legal line and social icons
  7. content sits in a 1200px centered container with 24px side padding (16px on mobile)
  8. sections are separated by 96px 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)
  • tabbed showcase that swaps a panel per tab
  • testimonial cards with quote, name and role

Components

  • pill badge: colors: surface #ffffff, text #000000; 16px radius; 1px border; sticky
  • secondary button: fill surface #ffffff; label text #000000; 16px radius; 1px border
  • hero block: colors: text #000000; type 85px
  • feature card: colors: accent #f300f7, supporting accent (decorative) #02bbff, canvas #f2f2f2; 16px radius; 1px border
  • content card: colors: canvas #f2f2f2, text #000000; 16px radius; 1px border; no shadow
  • content card (variant 2): colors: muted text #6e6e6e, text #000000, surface #ffffff; 46px radius; 1px border
  • primary button: fill #adff02, label #000000; 16px radius; 1px border
  • secondary button (variant 2): fill surface #ffffff; label text #000000; 16px radius; 1px border
  • product frame: colors: text #000000, muted text #6e6e6e, surface #ffffff; 1px border
  • media block: colors: accent #f300f7, supporting accent (decorative) #02bbff, primary action fill #adff02
  • footer: colors: text #000000; type 20px/900
  • section heading: colors: text #000000; type 64px
  • pill badge (variant 2): colors: text #000000; type 18px/500

Interactions and states

  • gradient fields drift slowly; paused on hover and under reduced motion
  • every interactive element shows a 2px #f300f7 focus ring with 2px offset
  • primary action darkens or lightens by one step on hover and keeps its label color
  • 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

Guardrails

Experience

  • Keep one primary action style (#adff02 fill, #000000 label) and use it once per view; secondary actions stay outlined or text-only.
  • Use the purple accent for small marks only (links, active states, icons), at most two or three times per screen.
  • Keep the 16px control radius consistent across buttons, inputs and chips.
  • Limit headline sizes to the type scale; the 164px display size appears once per page, in the hero.
  • Separate layers with surface tone and hairlines, not shadows.
  • Keep gradients to backgrounds and decorative fields; they are never a button or text fill.
  • 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 #f300f7 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.
  • 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.
  • The marketing site shows no account data and never asks for credentials, seed phrases or keys; sign-in links go to the separate app domain.

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 payments and finance product in the "Thistledun" style: airy, with gradient atmosphere, with heavy 900-weight display type up to 164px, tight display tracking (-0.033em), short uppercase labels with open tracking. Use invented copy and placeholder imagery throughout.

### Stack
Astro, TypeScript, Tailwind CSS, React islands with Radix primitives (tabs, accordion, dialog), Lucide icons, Motion, 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
- centered hero: headline, one-line lede and a primary plus secondary action, visual below
- feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
- tabbed showcase that swaps a panel per tab
- testimonial cards with quote, name and role
- 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 96px 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: #f2f2f2;
  --color-surface: #ffffff;
  --color-text: #000000;
  --color-muted-text: #6e6e6e;
  --color-accent: #f300f7;
  --color-primary-action-fill: #adff02;
  --color-link-text: #c300c7;
  --color-supporting-accent: #02bbff;
  --text-12: 12px;
  --text-14: 14px;
  --text-16: 16px;
  --text-18: 18px;
  --text-20: 20px;
  --text-24: 24px;
  --text-64: 64px;
  --text-85: 85px;
  --text-164: 164px;
  --radius-cards: 16px;
  --radius-buttons: 16px;
  --radius-hairline: 1px;
  --radius-hero-cards: 38px;
  --radius-phone-frames: 43px;
  --radius-feature-panels: 46px;
  --space-unit: 4px;
  --container: 1200px;
}
```
Display Inter, body Inter (Google Fonts, self-hosted, font-display: swap).
Type scale (size/weight/line-height tracking): 12px/700/1.2, 14px/700/1.29, 16px/700/1.5, 18px/700/1.5, 20px/700/1.5 -0.020em, 24px/700/1.22 -0.020em, 64px/900/0.94 -0.020em, 85px/900/0.85 -0.033em, 164px/900/0.85 -0.033em.
Spacing: comfortable density on a 4px base unit; container 1200px; section gap 96px; card padding 24px; element gap 10px; radii cards 16px, buttons 16px, hairline 1px, hero-cards 38px, phone-frames 43px, feature-panels 46px; no shadows.
Signature moves: heavy 900-weight display type up to 164px; tight display tracking (-0.033em); short uppercase labels with open tracking; rounded 16px controls; large 16px card corners; no shadows; depth comes from surface tone steps; one purple accent used sparingly; gradient fields used as atmosphere, never behind body text.

### Components & interactions
- **pill badge**: colors: surface #ffffff, text #000000; 16px radius; 1px border; sticky
- **secondary button**: fill surface #ffffff; label text #000000; 16px radius; 1px border
- **hero block**: colors: text #000000; type 85px
- **feature card**: colors: accent #f300f7, supporting accent (decorative) #02bbff, canvas #f2f2f2; 16px radius; 1px border
- **content card**: colors: canvas #f2f2f2, text #000000; 16px radius; 1px border; no shadow
- **content card (variant 2)**: colors: muted text #6e6e6e, text #000000, surface #ffffff; 46px radius; 1px border
- **primary button**: fill #adff02, label #000000; 16px radius; 1px border
- **secondary button (variant 2)**: fill surface #ffffff; label text #000000; 16px radius; 1px border
- **product frame**: colors: text #000000, muted text #6e6e6e, surface #ffffff; 1px border
- **media block**: colors: accent #f300f7, supporting accent (decorative) #02bbff, primary action fill #adff02
- **footer**: colors: text #000000; type 20px/900
- **section heading**: colors: text #000000; type 64px
- **pill badge (variant 2)**: colors: text #000000; type 18px/500
- gradient fields drift slowly; paused on hover and under reduced motion
- every interactive element shows a 2px #f300f7 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- 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}, Testimonial{quote, name, role, avatarUrl}, 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

### Accessibility
- Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
- Focus ring: 2px solid #f300f7 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.
- 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 #000000 on #f2f2f2 = 18.76:1; body text on surface #000000 on #ffffff = 21.0:1; muted text on canvas #6e6e6e on #f2f2f2 = 4.55:1; muted text on surface #6e6e6e on #ffffff = 5.1:1; primary action label on fill #000000 on #adff02 = 17.08:1; link text on canvas #c300c7 on #f2f2f2 = 4.53:1; focus ring on canvas #f300f7 on #f2f2f2 = 3.05:1; focus ring on surface #f300f7 on #ffffff = 3.41:1; input border on canvas #6e6e6e on #f2f2f2 = 4.55:1; accent icons and active marks on canvas #f300f7 on #f2f2f2 = 3.05: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.
- The marketing site shows no account data and never asks for credentials, seed phrases or keys; sign-in links go to the separate app domain.

### 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 (#adff02 fill, #000000 label) and use it once per view; secondary actions stay outlined or text-only.
- Use the purple accent for small marks only (links, active states, icons), at most two or three times per screen.
- Keep the 16px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 164px display size appears once per page, in the hero.
- Separate layers with surface tone and hairlines, not shadows.
- Keep gradients to backgrounds and decorative fields; they are never a button or text fill.
- 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