Style gallery
Cedargate
Bold graphic finance product site on warm off-white with a sparing green accent
Light · Bold graphic · Fintech · static site
A loud, poster-like light-theme style for a payments and finance product website. Its look rests on heavy 900-weight display type up to 137px, short uppercase labels with open tracking and a sparing green accent on a warm 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 Cedargate.
What makes it
- heavy 900-weight display type up to 137px
- short uppercase labels with open tracking
- rounded 10px controls
- large 20px card corners
- no shadows; depth comes from surface tone steps
- one green accent used sparingly
- contrasting full-width bands to break the page rhythm
Colors
Confident, graphic, high-impact. A warm off-white ground, heavy 900-weight display type up to 137px and a sparing green accent set the tone.
- canvas / text on band
#f3ede4 - surface
#e5e7eb - text
#141414 - muted text / divider (decorative) / input border
#566053 - accent
#279e1e - primary action fill
#55dd4a - primary action label / inverse band
#122315 - link text
#1e7816 - focus ring
#26981d - supporting accent (decorative), never behind text
#77e46e - second supporting accent (decorative), never behind text
#73d3eb
Every checked pair, measured again
| Sample | Where | Ratio | Needs |
|---|---|---|---|
| Aa | body text on canvas | 15.83:1 | 4.5:1 |
| Aa | body text on surface | 14.88:1 | 4.5:1 |
| Aa | muted text on canvas | 5.65:1 | 4.5:1 |
| Aa | muted text on surface | 5.31:1 | 4.5:1 |
| Aa | primary action label on fill | 9.26:1 | 4.5:1 |
| Aa | link text on canvas | 4.81:1 | 4.5:1 |
| focus ring on canvas | 3.23:1 | 3:1 | |
| focus ring on surface | 3.03:1 | 3:1 | |
| input border on canvas | 5.65:1 | 3:1 | |
| accent icons and active marks on canvas | 3.01:1 | 3:1 | |
| Aa | text on inverse band | 14.13:1 | 4.5: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
- OswaldHeadings
- InterBody
Type scale
137px Oswald 900
72px Oswald 900
58px Oswald 900
32px Oswald 900
24px Inter 400
16px Inter 400
14px Inter 400
12px Inter 400
Corners and shadows
- cards:
20px - badges:
20px - buttons:
10px - sticker-badges:
9999px
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 32px; element gap 16px; radii cards 20px, badges 20px, buttons 10px, sticker-badges 9999px; no shadows
Photography, illustration, abstract gradients, 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
- 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)
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- large framed product view on a tinted surface
- horizontal card rail with previous/next buttons and snap scrolling
- testimonial cards with quote, name and role
- pricing tiers with one highlighted plan and a monthly/yearly toggle
- article or story cards with image, kicker, title and date
- 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
Patterns
- hero
- feature grid of icon, title and two-line description cells (3-4 columns desktop, 1 column mobile)
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- large framed product view on a tinted surface
- horizontal card rail with previous/next buttons and snap scrolling
- testimonial cards with quote, name and role
- pricing tiers with one highlighted plan and a monthly/yearly toggle
- article or story cards with image, kicker, title and date
Components
- primary button: fill #55dd4a, label #122315; 10px radius; padding 14px 28px; type 14px; uppercase with at least 0.05em tracking
- primary button (variant 2): fill #55dd4a, label #122315; 10px radius; padding 10px 20px; uppercase with at least 0.05em tracking
- carousel: colors: supporting accent (decorative) #77e46e, canvas #f3ede4; no shadow
- hero block: colors: primary action label #122315, canvas #f3ede4, accent #279e1e
- pill badge: colors: accent #279e1e, muted text #566053; 1px border; uppercase with at least 0.05em tracking; underlined
- pill badge (variant 2): colors: text #141414, accent #279e1e, second supporting accent (decorative) #73d3eb
- content card: colors: canvas #f3ede4, muted text #566053, second supporting accent (decorative) #73d3eb; 20px radius; 1px border; soft shadow
- content card (variant 2): colors: text #141414, primary action label #122315
- top navigation bar: colors: primary action label #122315, canvas #f3ede4; uppercase with at least 0.05em tracking
- feature card: colors: accent #279e1e
- hero block (variant 2): colors: text #141414, accent #279e1e, second supporting accent (decorative) #73d3eb
Interactions and states
- hard-cut hover states: fills invert instantly, no easing on color
- every interactive element shows a 2px #26981d 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
Guardrails
Experience
- Keep one primary action style (#55dd4a fill, #122315 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.
- Keep the 10px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 137px display size appears once per page, in the hero.
- Separate layers with surface tone and hairlines, not shadows.
- Partner and customer marks are placeholders in one muted tone; never use real company logos.
- 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 #26981d 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.
- 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 "Cedargate" style: loud, poster-like, with heavy 900-weight display type up to 137px, short uppercase labels with open tracking, rounded 10px controls. Use invented copy and placeholder imagery throughout.
### Stack
Astro, TypeScript, Tailwind CSS, React islands with Radix primitives (tabs, accordion, dialog), Lucide icons, 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
- 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)
- alternating two-column text-and-visual blocks
- metrics band with three or four large figures and captions
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- large framed product view on a tinted surface
- horizontal card rail with previous/next buttons and snap scrolling
- testimonial cards with quote, name and role
- pricing tiers with one highlighted plan and a monthly/yearly toggle
- article or story cards with image, kicker, title and date
- 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: #f3ede4;
--color-surface: #e5e7eb;
--color-text: #141414;
--color-muted-text: #566053;
--color-accent: #279e1e;
--color-primary-action-fill: #55dd4a;
--color-primary-action-label: #122315;
--color-link-text: #1e7816;
--color-focus-ring: #26981d;
--color-supporting-accent: #77e46e;
--color-second-supporting-accent: #73d3eb;
--text-12: 12px;
--text-14: 14px;
--text-16: 16px;
--text-24: 24px;
--text-32: 32px;
--text-58: 58px;
--text-72: 72px;
--text-137: 137px;
--radius-cards: 20px;
--radius-badges: 20px;
--radius-buttons: 10px;
--radius-sticker-badges: 9999px;
--space-unit: 4px;
--container: 1200px;
}
```
Display Oswald, body Inter (Google Fonts, self-hosted, font-display: swap).
Type scale (size/weight/line-height tracking): 12px/400/1.4 0.018em, 14px/400/1.43, 16px/400/1.43, 24px/400/1.2 -0.040em, 32px/900/1.13 -0.026em, 58px/900/0.9 -0.026em, 72px/900/0.85 -0.026em, 137px/900/0.8 -0.015em.
Spacing: comfortable density on a 4px base unit; container 1200px; section gap 96px; card padding 32px; element gap 16px; radii cards 20px, badges 20px, buttons 10px, sticker-badges 9999px; no shadows.
Signature moves: heavy 900-weight display type up to 137px; short uppercase labels with open tracking; rounded 10px controls; large 20px card corners; no shadows; depth comes from surface tone steps; one green accent used sparingly; contrasting full-width bands to break the page rhythm.
### Components & interactions
- **primary button**: fill #55dd4a, label #122315; 10px radius; padding 14px 28px; type 14px; uppercase with at least 0.05em tracking
- **primary button (variant 2)**: fill #55dd4a, label #122315; 10px radius; padding 10px 20px; uppercase with at least 0.05em tracking
- **carousel**: colors: supporting accent (decorative) #77e46e, canvas #f3ede4; no shadow
- **hero block**: colors: primary action label #122315, canvas #f3ede4, accent #279e1e
- **pill badge**: colors: accent #279e1e, muted text #566053; 1px border; uppercase with at least 0.05em tracking; underlined
- **pill badge (variant 2)**: colors: text #141414, accent #279e1e, second supporting accent (decorative) #73d3eb
- **content card**: colors: canvas #f3ede4, muted text #566053, second supporting accent (decorative) #73d3eb; 20px radius; 1px border; soft shadow
- **content card (variant 2)**: colors: text #141414, primary action label #122315
- **top navigation bar**: colors: primary action label #122315, canvas #f3ede4; uppercase with at least 0.05em tracking
- **feature card**: colors: accent #279e1e
- **hero block (variant 2)**: colors: text #141414, accent #279e1e, second supporting accent (decorative) #73d3eb
- hard-cut hover states: fills invert instantly, no easing on color
- every interactive element shows a 2px #26981d 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}, Testimonial{quote, name, role, avatarUrl}, Plan{name, monthlyPrice, yearlyPrice, features[], highlighted}, Post{slug, title, kicker, excerpt, coverUrl, publishedAt}, Metric{value, label}, PartnerMark{label, placeholderSvg}, 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
### Accessibility
- Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
- Focus ring: 2px solid #26981d 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 #141414 on #f3ede4 = 15.83:1; body text on surface #141414 on #e5e7eb = 14.88:1; muted text on canvas #566053 on #f3ede4 = 5.65:1; muted text on surface #566053 on #e5e7eb = 5.31:1; primary action label on fill #122315 on #55dd4a = 9.26:1; link text on canvas #1e7816 on #f3ede4 = 4.81:1; focus ring on canvas #26981d on #f3ede4 = 3.23:1; focus ring on surface #26981d on #e5e7eb = 3.03:1; input border on canvas #566053 on #f3ede4 = 5.65:1; accent icons and active marks on canvas #279e1e on #f3ede4 = 3.01:1; text on inverse band #f3ede4 on #122315 = 14.13: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 (#55dd4a fill, #122315 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.
- Keep the 10px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 137px display size appears once per page, in the hero.
- Separate layers with surface tone and hairlines, not shadows.
- Partner and customer marks are placeholders in one muted tone; never use real company logos.
- 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.