Style gallery
Garnetbeck
Soft gradient developer tool site on cool off-white with a sparing green accent
Light · Soft gradient · Developer tools · static site
A light style preset for a developer platform, airy, with gradient atmosphere in character. Its look rests on heavy 700-weight display type up to 72px, tight display tracking (-0.033em) and a sparing green accent on a cool off-white canvas. Every value needed to rebuild the look is recorded, from color roles and type steps to spacing, radii and component specs.
Build in this styleRead the build prompt
In the builder, open Gallery under the message and search for Garnetbeck.
What makes it
- heavy 700-weight display type up to 72px
- tight display tracking (-0.033em)
- monospace used for labels, metadata or code
- small 6px corners on controls
- soft layered shadows on raised cards
- one green accent used sparingly
- gradient fields used as atmosphere, never behind body text
- very generous vertical spacing between sections
Colors
Optimistic, light, modern. Restraint in the palette lets heavy 700-weight display type up to 72px do the talking.
- canvas
#f8f9fc - surface
#ffffff - text / primary action label
#0a0e1c - muted text
#475269 - divider (decorative) / input border
#25272b - accent / focus ring
#00a649 - primary action fill
#70ffaf - link text
#00843a - supporting accent (decorative), never behind text
#ffdb1e - second supporting accent (decorative), never behind text
#66c2ff
Every checked pair, measured again
| Sample | Where | Ratio | Needs |
|---|---|---|---|
| Aa | body text on canvas | 18.26:1 | 4.5:1 |
| Aa | body text on surface | 19.22:1 | 4.5:1 |
| Aa | muted text on canvas | 7.45:1 | 4.5:1 |
| Aa | muted text on surface | 7.84:1 | 4.5:1 |
| Aa | primary action label on fill | 15.21:1 | 4.5:1 |
| Aa | link text on canvas | 4.57:1 | 4.5:1 |
| focus ring on canvas | 3.05:1 | 3:1 | |
| focus ring on surface | 3.21:1 | 3:1 | |
| input border on canvas | 14.21:1 | 3:1 | |
| accent icons and active marks on canvas | 3.05:1 | 3:1 |
Typefaces
monospace accents in Roboto Mono; 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
- Source Sans 3Body
- Roboto MonoFigures and code
Type scale
72px Inter 700
44px Inter 700
36px Inter 700
28px Inter 400
20px Source Sans 3 400
16px Source Sans 3 400
14px Source Sans 3 400
12px Source Sans 3 400
Corners and shadows
- nav:
6px - tags:
6px - cards:
6px - buttons:
6px - stat-badges:
6px - install-pill:
9999px - shadow-1:
rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px - shadow-2:
rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px - shadow-3:
rgb(102, 194, 255) 2px 4px 0px 0px
Spacing and imagery
comfortable density on a 8px base unit; container 1200px; section gap 128px; card padding 24px; element gap 16px; radii nav 6px, tags 6px, cards 6px, buttons 6px, stat-badges 6px, install-pill 9999px; 3 shadow levels
Photography, illustration, line icons, data graphics. 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
- top navigation: wordmark left, 4-6 text links, primary action right; collapses to a menu sheet under 768px
- split hero: headline, lede and two actions on the left, product visual on the right (stacks on mobile)
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- tabbed showcase that swaps a panel per tab
- 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 128px of vertical space on desktop, roughly half that on mobile
Patterns
- hero
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- tabbed showcase that swaps a panel per tab
Components
- top navigation bar: colors: surface #ffffff, canvas #f8f9fc, text #0a0e1c; 1px border; type 16px
- text input: colors: surface #ffffff, canvas #f8f9fc, muted text #475269; 6px radius; padding 8px 12px; 1px border; type 14px
- primary button: fill #70ffaf, label #0a0e1c; 6px radius; padding 12px 20px; type 16px/700
- primary button (variant 2): fill #70ffaf, label #0a0e1c; 6px radius; padding 12px 20px; sticky
- secondary button: transparent fill; label second supporting accent (decorative) #66c2ff; 6px radius; padding 12px 20px; 1px border; no shadow
- code snippet: colors: surface #ffffff, text #0a0e1c, accent #00a649; padding 16px 20px; type 14px
- content card: colors: surface #ffffff, canvas #f8f9fc, accent #00a649; 6px radius; padding 2px 8px; 1px border; type 14px; soft shadow
- pill badge: colors: accent #00a649, text #0a0e1c; 6px radius; padding 2px 8px; type 14px/700
- hero block: colors: canvas #f8f9fc, text #0a0e1c, muted text #475269; 6px radius; type 72px; soft shadow
- code snippet (variant 2): colors: canvas #f8f9fc, muted text #475269, link text #00843a; 6px radius; padding 16px 20px; type 14px
- footer: colors: divider (decorative) #25272b, surface #ffffff, canvas #f8f9fc; type 14px
Interactions and states
- gradient fields drift slowly; paused on hover and under reduced motion
- every interactive element shows a 2px #00a649 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- fields show the focus ring on focus and inline validation on blur
- code snippets have a copy button that confirms with 'Copied' for two seconds
- 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 (#70ffaf fill, #0a0e1c label) and use it once per view; secondary actions stay outlined or text-only.
- Use the green accent for small marks only (links, active states, icons), at most two or three times per screen.
- Use the 6px control radius consistently; do not mix in pill shapes.
- Limit headline sizes to the type scale; the 72px display size appears once per page, in the hero.
- 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 #00a649 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.
- 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.
- Demo widgets run against mocked responses or a rate-limited server proxy; no model or platform keys reach the browser.
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 developer platform in the "Garnetbeck" style: airy, with gradient atmosphere, with heavy 700-weight display type up to 72px, tight display tracking (-0.033em), monospace used for labels, metadata or code. 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
- split hero: headline, lede and two actions on the left, product visual on the right (stacks on mobile)
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- tabbed showcase that swaps a panel per tab
- 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 128px 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: #f8f9fc;
--color-surface: #ffffff;
--color-text: #0a0e1c;
--color-muted-text: #475269;
--color-divider: #25272b;
--color-accent: #00a649;
--color-primary-action-fill: #70ffaf;
--color-link-text: #00843a;
--color-supporting-accent: #ffdb1e;
--color-second-supporting-accent: #66c2ff;
--text-12: 12px;
--text-14: 14px;
--text-16: 16px;
--text-20: 20px;
--text-28: 28px;
--text-36: 36px;
--text-44: 44px;
--text-72: 72px;
--radius-nav: 6px;
--radius-tags: 6px;
--radius-cards: 6px;
--radius-buttons: 6px;
--radius-stat-badges: 6px;
--radius-install-pill: 9999px;
--space-unit: 8px;
--container: 1200px;
--shadow-1: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
--shadow-2: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
--shadow-3: rgb(102, 194, 255) 2px 4px 0px 0px;
}
```
Display Inter, body Source Sans 3, mono Roboto Mono (Google Fonts, self-hosted, font-display: swap).
Type scale (size/weight/line-height tracking): 12px/400/1.5, 14px/400/1.43, 16px/400/1.5, 20px/400/1.45, 28px/400/1.33, 36px/700/1.25, 44px/700/1.1 -0.025em, 72px/700/1.0 -0.033em.
Spacing: comfortable density on a 8px base unit; container 1200px; section gap 128px; card padding 24px; element gap 16px; radii nav 6px, tags 6px, cards 6px, buttons 6px, stat-badges 6px, install-pill 9999px; 3 shadow levels.
Signature moves: heavy 700-weight display type up to 72px; tight display tracking (-0.033em); monospace used for labels, metadata or code; small 6px corners on controls; soft layered shadows on raised cards; one green accent used sparingly; gradient fields used as atmosphere, never behind body text; very generous vertical spacing between sections.
### Components & interactions
- **top navigation bar**: colors: surface #ffffff, canvas #f8f9fc, text #0a0e1c; 1px border; type 16px
- **text input**: colors: surface #ffffff, canvas #f8f9fc, muted text #475269; 6px radius; padding 8px 12px; 1px border; type 14px
- **primary button**: fill #70ffaf, label #0a0e1c; 6px radius; padding 12px 20px; type 16px/700
- **primary button (variant 2)**: fill #70ffaf, label #0a0e1c; 6px radius; padding 12px 20px; sticky
- **secondary button**: transparent fill; label second supporting accent (decorative) #66c2ff; 6px radius; padding 12px 20px; 1px border; no shadow
- **code snippet**: colors: surface #ffffff, text #0a0e1c, accent #00a649; padding 16px 20px; type 14px
- **content card**: colors: surface #ffffff, canvas #f8f9fc, accent #00a649; 6px radius; padding 2px 8px; 1px border; type 14px; soft shadow
- **pill badge**: colors: accent #00a649, text #0a0e1c; 6px radius; padding 2px 8px; type 14px/700
- **hero block**: colors: canvas #f8f9fc, text #0a0e1c, muted text #475269; 6px radius; type 72px; soft shadow
- **code snippet (variant 2)**: colors: canvas #f8f9fc, muted text #475269, link text #00843a; 6px radius; padding 16px 20px; type 14px
- **footer**: colors: divider (decorative) #25272b, surface #ffffff, canvas #f8f9fc; type 14px
- gradient fields drift slowly; paused on hover and under reduced motion
- every interactive element shows a 2px #00a649 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- fields show the focus ring on focus and inline validation on blur
- code snippets have a copy button that confirms with 'Copied' for two seconds
- 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}, 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
### Accessibility
- Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
- Focus ring: 2px solid #00a649 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.
- 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 #0a0e1c on #f8f9fc = 18.26:1; body text on surface #0a0e1c on #ffffff = 19.22:1; muted text on canvas #475269 on #f8f9fc = 7.45:1; muted text on surface #475269 on #ffffff = 7.84:1; primary action label on fill #0a0e1c on #70ffaf = 15.21:1; link text on canvas #00843a on #f8f9fc = 4.57:1; focus ring on canvas #00a649 on #f8f9fc = 3.05:1; focus ring on surface #00a649 on #ffffff = 3.21:1; input border on canvas #25272b on #f8f9fc = 14.21:1; accent icons and active marks on canvas #00a649 on #f8f9fc = 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.
- Demo widgets run against mocked responses or a rate-limited server proxy; no model or platform keys reach the browser.
### 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 (#70ffaf fill, #0a0e1c label) and use it once per view; secondary actions stay outlined or text-only.
- Use the green accent for small marks only (links, active states, icons), at most two or three times per screen.
- Use the 6px control radius consistently; do not mix in pill shapes.
- Limit headline sizes to the type scale; the 72px display size appears once per page, in the hero.
- 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.