Four tints, one street

The same street seen through four lens tints inside the frame shape, with the light each lets through and what it is best for; choosing one recolours every lens view on the page.

ControlsFreeFrom Squint, SignatureAbout 2k tokens saved
The whole page

Links in the preview stay on the block.

Open on its own

The prompt

One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.

364 words
Download .zip
# Four tints, one street

One controls section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML.

## Goal
Compare lens colours on the same scene instead of swatches.

## Structure
1. head: heading and a paragraph
2. four buttons: lens view, name and light value, one line

## Type
Xanh Mono for headings, labels, prices and buttons (13px caps at 0.08em); Rubik 400 to 500 for body copy.

## Colour
Lime-wash stone #EAEAE6, paper #F6F6F3, ink #1A1A18, muted #605E58, rule #CFCEC7, bottle green #2F4A3C; tints grey #4A4A46, brown #6B4A2E, rose #B98A8E.

## Spacing and lines
Four columns with 16px gaps, two below 1000px; 1px ink rule above each, 3px on the chosen one.

## Behaviour
Clicking sets the page tint: the hero, the foot radios and this group update together.

## Responsive
Two per row on phones.

## Accessibility
A radio group with aria-checked; the views are decorative.

## Built values (from code.html)
- Fonts: Xanh Mono 400 (self-hosted: fonts/xanh-mono.woff2); Rubik 300 to 700 (self-hosted: fonts/rubik.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --stone #EAEAE6, --paper #F6F6F3, --ink #1A1A18, --ink2 #605E58, --line #CFCEC7, --green #2F4A3C.
- Font variables: --mono "Xanh Mono",ui-monospace,monospace; --sans "Rubik",system-ui,sans-serif.
- Size variables: --pad 20px, --top 70px, --bar 30px.
- Media queries: max-width 1000px, max-width 760px, prefers-reduced-motion.
- No media files.
- Script: none, CSS only.

## Content to replace
- [Tints]: four names, light percentages and one-line uses

## Rules
Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA.

## Output
Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.

More like this

Controls

Every controls block

Same page

More from Squint

See the page