Style gallery
Nectarton
Dark technical B2B software site on deep chartreuse with a chartreuse lead color
Dark · Dark technical · SaaS · static site
A dark, precise and engineering-flavored dark-theme style for a software product website. Its look rests on heavy 700-weight display type up to 94px, tight display tracking (-0.045em) and a chartreuse lead color on a deep chartreuse 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 Nectarton.
What makes it
- heavy 700-weight display type up to 94px
- tight display tracking (-0.045em)
- monospace used for labels, metadata or code
- rounded 16px controls
- large 32px card corners
- no shadows; depth comes from surface tone steps
Colors
Precise, focused, nocturnal. Color and heavy 700-weight display type up to 94px share the work.
- canvas / supporting accent (decorative)
#203400 - surface / primary action label
#1b2d00 - text
#ffffff - muted text
#a1a1aa - divider (decorative), never behind text
#586740 - input border
#6b7d4e - accent / primary action fill / link text / focus ring
#bdff00 - second supporting accent (decorative), never behind text
#335400
Every checked pair, measured again
| Sample | Where | Ratio | Needs |
|---|---|---|---|
| Aa | body text on canvas | 13.53:1 | 4.5:1 |
| Aa | body text on surface | 14.77:1 | 4.5:1 |
| Aa | muted text on canvas | 5.28:1 | 4.5:1 |
| Aa | muted text on surface | 5.76:1 | 4.5:1 |
| Aa | primary action label on fill | 12.28:1 | 4.5:1 |
| Aa | link text on canvas | 11.25:1 | 4.5:1 |
| focus ring on canvas | 11.25:1 | 3:1 | |
| focus ring on surface | 12.28:1 | 3:1 | |
| input border on canvas | 3.01:1 | 3:1 | |
| accent icons and active marks on canvas | 11.25: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
- Space GroteskHeadings
- Space GroteskBody
- Roboto MonoFigures and code
Type scale
94px Space Grotesk 700
64px Space Grotesk 700
40px Space Grotesk 700
32px Space Grotesk 700
20px Space Grotesk 400
16px Space Grotesk 400
Corners and shadows
- tags:
12px - cards:
32px - pills:
9999px - buttons:
16px - body-blocks:
24px - alternate-button:
20px
No shadows: depth comes from surfaces and lines.
Spacing and imagery
comfortable density on a 8px base unit; container 1280px; section gap 80px; card padding 40px; element gap 24px; radii tags 12px, cards 32px, pills 9999px, buttons 16px, body-blocks 24px, alternate-button 20px; 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
- top navigation: wordmark left, 4-6 text links, primary action right; collapses to a menu sheet under 768px
- left-aligned hero: oversized headline, short lede and a primary plus secondary action
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- alternating two-column text-and-visual blocks
- 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
- metrics band with three or four large figures and captions
- newsletter sign-up with a labeled email field
- footer with grouped link columns, legal line and social icons
- content sits in a 1280px centered container with 24px side padding (16px on mobile)
- sections are separated by 80px of vertical space on desktop, roughly half that on mobile
Patterns
- hero
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- alternating two-column text-and-visual blocks
- 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
- metrics band with three or four large figures and captions
- newsletter sign-up with a labeled email field
Components
- primary button: fill #bdff00, label #1b2d00; 16px radius; padding 18px 32px
- secondary button: transparent fill; 16px radius; padding 18px 32px; 1px border
- pill badge: colors: text #ffffff; pill radius; 1px border
- feature card: colors: accent #bdff00; 32px radius; padding 40px
- content card: colors: surface #1b2d00, canvas #203400, text #ffffff; 32px radius; padding 40px; no shadow
- content card (variant 2): colors: second supporting accent (decorative) #335400; 32px radius
- tabs: colors: divider (decorative) #586740, text #ffffff
- pill badge (variant 2): colors: accent #bdff00
- hero block: colors: text #ffffff
- text input: colors: canvas #203400, text #ffffff; 16px radius; 1px border; type 16px
- primary button (variant 2): fill #bdff00, label #1b2d00; 32px radius; no shadow
Interactions and states
- hover reveals a 1px accent outline; code and terminal lines type in once on first view
- every interactive element shows a 2px #bdff00 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- tabs switch panels without a page load; arrow keys move between tabs
- fields show the focus ring on focus and inline validation on blur
- 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
- selected and unselected tab states, with the panel labeled by its tab
Guardrails
Experience
- Keep one primary action style (#bdff00 fill, #1b2d00 label) and use it once per view; secondary actions stay outlined or text-only.
- Keep the 16px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 94px 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 #bdff00 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.
- Tabs follow the ARIA tabs pattern with roving tabindex.
- 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.
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.
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 dark-theme marketing site for a fictional software product in the "Nectarton" style: dark, precise and engineering-flavored, with heavy 700-weight display type up to 94px, tight display tracking (-0.045em), 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, 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
- left-aligned hero: oversized headline, short lede and a primary plus secondary action
- row of placeholder partner marks in a single muted tone (wraps to two rows on mobile)
- alternating two-column text-and-visual blocks
- 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
- metrics band with three or four large figures and captions
- newsletter sign-up with a labeled email field
- footer with grouped link columns, legal line and social icons
- content sits in a 1280px centered container with 24px side padding (16px on mobile)
- sections are separated by 80px 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: #203400;
--color-surface: #1b2d00;
--color-text: #ffffff;
--color-muted-text: #a1a1aa;
--color-divider: #586740;
--color-input-border: #6b7d4e;
--color-accent: #bdff00;
--color-second-supporting-accent: #335400;
--text-16: 16px;
--text-20: 20px;
--text-32: 32px;
--text-40: 40px;
--text-64: 64px;
--text-94: 94px;
--radius-tags: 12px;
--radius-cards: 32px;
--radius-pills: 9999px;
--radius-buttons: 16px;
--radius-body-blocks: 24px;
--radius-alternate-button: 20px;
--space-unit: 8px;
--container: 1280px;
}
```
Display Space Grotesk, body Space Grotesk, mono Roboto Mono (Google Fonts, self-hosted, font-display: swap).
Type scale (size/weight/line-height tracking): 16px/400/1.5, 20px/400/1.5 -0.020em, 32px/700/1.2 -0.022em, 40px/700/1.1 -0.022em, 64px/700/1.0 -0.021em, 94px/700/1.0 -0.045em.
Spacing: comfortable density on a 8px base unit; container 1280px; section gap 80px; card padding 40px; element gap 24px; radii tags 12px, cards 32px, pills 9999px, buttons 16px, body-blocks 24px, alternate-button 20px; no shadows.
Signature moves: heavy 700-weight display type up to 94px; tight display tracking (-0.045em); monospace used for labels, metadata or code; rounded 16px controls; large 32px card corners; no shadows; depth comes from surface tone steps.
### Components & interactions
- **primary button**: fill #bdff00, label #1b2d00; 16px radius; padding 18px 32px
- **secondary button**: transparent fill; 16px radius; padding 18px 32px; 1px border
- **pill badge**: colors: text #ffffff; pill radius; 1px border
- **feature card**: colors: accent #bdff00; 32px radius; padding 40px
- **content card**: colors: surface #1b2d00, canvas #203400, text #ffffff; 32px radius; padding 40px; no shadow
- **content card (variant 2)**: colors: second supporting accent (decorative) #335400; 32px radius
- **tabs**: colors: divider (decorative) #586740, text #ffffff
- **pill badge (variant 2)**: colors: accent #bdff00
- **hero block**: colors: text #ffffff
- **text input**: colors: canvas #203400, text #ffffff; 16px radius; 1px border; type 16px
- **primary button (variant 2)**: fill #bdff00, label #1b2d00; 32px radius; no shadow
- hover reveals a 1px accent outline; code and terminal lines type in once on first view
- every interactive element shows a 2px #bdff00 focus ring with 2px offset
- primary action darkens or lightens by one step on hover and keeps its label color
- tabs switch panels without a page load; arrow keys move between tabs
- fields show the focus ring on focus and inline validation on blur
- 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}, 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
- selected and unselected tab states, with the panel labeled by its tab
### Accessibility
- Text, links, focus rings and input borders use only the verified pairs listed in contrast checks.
- Focus ring: 2px solid #bdff00 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.
- Tabs follow the ARIA tabs pattern with roving tabindex.
- 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.
Verified contrast: body text on canvas #ffffff on #203400 = 13.53:1; body text on surface #ffffff on #1b2d00 = 14.77:1; muted text on canvas #a1a1aa on #203400 = 5.28:1; muted text on surface #a1a1aa on #1b2d00 = 5.76:1; primary action label on fill #1b2d00 on #bdff00 = 12.28:1; link text on canvas #bdff00 on #203400 = 11.25:1; focus ring on canvas #bdff00 on #203400 = 11.25:1; focus ring on surface #bdff00 on #1b2d00 = 12.28:1; input border on canvas #6b7d4e on #203400 = 3.01:1; accent icons and active marks on canvas #bdff00 on #203400 = 11.25: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.
### 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 (#bdff00 fill, #1b2d00 label) and use it once per view; secondary actions stay outlined or text-only.
- Keep the 16px control radius consistent across buttons, inputs and chips.
- Limit headline sizes to the type scale; the 94px 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.