StyleKit

Quantized Line Field

量化线场

Rate this style

Translate a mark's luminance into four weights of vertical lines, with slow drift, spring displacement, and grid-aligned scan overlays.

vertical line artluminance fieldfour line weightssegmented strokesbrand cardsscan overlayCanvas 2Dcreative coding

Best For

vertical line art / luminance field / four line weights

Primary Move

Use bg-[#fafaf8] paper and bg-[#eeeeeb], bg-[#2152e7], bg-[#111212] card surfaces

Watch Out

Do not replace the line-drawn marks with logo images or SVG elements

design.md

Quantized Line Field as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Quantized Line Field — Style Reference

Translate a mark's luminance into four weights of vertical lines and let them carry the whole surface.

Theme: light

Quantized Line Field is a generative identity system: any mark is sampled into a grid, each cell's luminance is quantised into one of four levels, and vertical lines of the matching weight draw it back. The core rule is that continuous stroke weights are forbidden — four discrete levels only, because a gradient would cost it the mechanical quality. The field drifts slowly, takes a decaying spring impulse on interaction, and honours prefers-reduced-motion. The page is warm white (#fafaf8), the field lives inside a 17px-radius card whose ground sets the contrast: pale grey, pure blue or near black. Type runs in three registers: serif display, sans interface, mono coordinates.

Colors

NameValueTokenRole
Paper#fafaf8--color-paperThe canvas — a warm grey-white that keeps the thin lines from stinging.
Ink#202220--color-inkAll type and the darkest line level — a black with a green cast, softer than pure black.
Pale Card#eeeeeb--color-pale-cardThe pale field card ground, for marks that need low contrast.
Electric Blue#2152e7--color-electric-blueThe high-contrast field ground and the primary accent — the only colored field in the system.
Detection Blue#267dff--color-detection-blueFocus rings, scan lines and interaction feedback, never thicker than 2px.
Signal Red#ec353e--color-signal-redThe only alert color, for out-of-range parameters and errors.
Night Field#111212--color-night-fieldThe dark field ground, for marks with high luminance.

Typography

Instrument Serif — Headings and exhibition-scale type — the serif supplies the human side against the field's machine.
  • Substitute: Georgia, 'Songti SC', serif
  • Weights: 400
  • Sizes: 24, 32, 48, 60
  • Line height: 1.02 (display), 1.1 (headings), 1.6 (body)
  • Letter spacing: -0.02em on display, 0.12em on uppercase labels
Inter — Interface text, captions and buttons, kept small so they never compete with the field.
  • Substitute: system-ui, -apple-system, sans-serif
  • Weights: 400, 500
  • Sizes: 12, 13, 14, 15
  • Line height: 1.4 (display), 1.4 (headings), 1.6 (body)
  • Letter spacing: 0 on display, 0.08em on uppercase labels
JetBrains Mono — Coordinates, parameters and the four weight labels — the monospace lets the parameter table align.
  • Substitute: ui-monospace, SFMono-Regular, Menlo, monospace
  • Weights: 400
  • Sizes: 11, 12
  • Line height: 1.4 (display), 1.4 (headings), 1.5 (body)
  • Letter spacing: 0 on display, 0.04em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
displayInstrument Serif40060px1.02-0.02em--text-display
heading-lgInstrument Serif40048px1.05—--text-heading-lg
headingInstrument Serif40032px1.1—--text-heading
bodyInter40014px1.6—--text-body
body-smInter40013px1.55—--text-body-sm
labelInter50012px1.40.08em--text-label
coordinateJetBrains Mono40011px1.40.04em--text-coordinate

Spacing & Layout

Base unit: 8px Density: comfortable

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
2828px--spacing-28
4848px--spacing-48
5656px--spacing-56
6464px--spacing-64
9696px--spacing-96
112112px--spacing-112
Border Radius
ElementValue
cards17px
buttons999px
inputs12px
  • Page max-width: 1280px
  • Section gap: 96px
  • Card padding: 28px
  • Element gap: 16px

Components

Line Field Card

Role: Field container and work card

17px radius, 28px padding, a 0.70 aspect ratio, 460px minimum height and overflow hidden. The ground is one of three (#eeeeeb, #2152e7, #111212). The canvas fills the card and lines take only four widths (1px, 2px, 3px, 4px) in the ground's contrast color — ink on pale, paper on dark. Hover delivers a decaying spring impulse of 8px plus an 8% shadow.

  • Sizes: aspect 0.70; min-height 460px; padding 28px
  • States: hover: spring impulse 8px, shadow 8%
Source Button

Role: Reveal the source, and secondary actions

Transparent fill, a 1px #d9dbd5 border, fully rounded, 10px 20px padding at 14px sans. Hover turns the border detection blue; focus draws a 2px blue ring at a 4px offset. The fill never changes. 150ms.

Parameter Input

Role: Parameter and project-name input

Paper fill, a 1px #d9dbd5 border, 12px radius, 12px 16px padding at 14px. The label sits 8px above at 14px. Focus draws a 2px detection-blue ring at a 2px offset without resizing. Out-of-range turns the border signal red.

Studio Nav

Role: Top navigation

Paper fill, a 1px #d9dbd5 bottom border, 24px horizontal and 20px vertical padding. The wordmark runs 24px serif on the left; links are 14px sans underlined at a 4px offset on the right. No shadow and no background change.

Annotation Footer

Role: Work annotations and the parameter strip

A 1px #d9dbd5 top border, 24px padding, 12px sans in #686b64. Annotations sit at one end and notes like 'one path, four line weights' at the other. Parameter values run monospace, separated from their labels by 16px.

Do's and Don'ts

Do
  • Lines take exactly four widths
  • The field honours prefers-reduced-motion
  • Card radius is fixed at 17px
  • Three registers: serif, sans, mono
  • One of three grounds per card, not repeated on a screen
  • Interaction uses a decaying spring
Don't
  • Never use continuous or graded stroke weights
  • Do not crop the field off its ratio
  • Never mix two grounds in one card
  • No large displacement or rotation
  • Do not use detection blue as a fill
  • Do not drift when reduced motion is requested

Surfaces

LevelNameValuePurpose
0Paper#fafaf8页面画布
1Pale Card#eeeeeb浅色线场
2Electric Blue#2152e7高对比线场
3Night Field#111212深色线场

Elevation

  • None: none — line fields carry their own depth
  • Card hover: 0 12px 32px rgba(32,34,32,0.08)

Imagery

The field is the imagery: everything is built from four line weights, with no bitmaps or illustration. A real mark — logo, glyph — may be sampled and rebuilt as a field. Photography never leads; at most it is the source the field samples.

Layout

Capped at 1280px with 24px padding, sections 96px apart. Works arrange as a card array at a fixed 0.70 ratio with 24px gaps. Headers align left and annotations spread to both ends at the bottom of a block. The canvas matches its container exactly, never cropped.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #202220
  • background: #fafaf8
  • card: #eeeeeb
  • accent: #2152e7
  • detection: #267dff
  • alert: #ec353e

EXAMPLE COMPONENT PROMPTS:

  1. Build a quantized line field card: 17px radius, 28px padding, 0.70 aspect ratio, 460px minimum height, overflow hidden, on #eeeeeb. Inside, a canvas draws with four line widths (1px, 2px, 3px, 4px) chosen by quantised luminance, in #202220. A 14px/500 label sits at the top, and the bottom carries a 36px serif headline at 1.0 leading and -0.02em tracking plus a transparent pill button with a 1px #d9dbd5 border that turns #267dff on hover.

Similar Brands

  • Editorial — Also uses serif display and whitespace rhythm, though without a generative mechanism
  • Generative Art — Also generative, though that one is driven by randomness rather than luminance

Quick Start


:root {
  /* Colors */
  --color-paper: #fafaf8;
  --color-ink: #202220;
  --color-pale-card: #eeeeeb;
  --color-electric-blue: #2152e7;
  --color-detection-blue: #267dff;
  --color-signal-red: #ec353e;
  --color-night-field: #111212;

  /* Typography — Font Families */
  --font-serif: 'Instrument Serif', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 60px;
  --leading-display: 1.02;
  --tracking-display: -0.02em;
  --text-heading-lg: 48px;
  --leading-heading-lg: 1.05;
  --text-heading: 32px;
  --leading-heading: 1.1;
  --text-body: 14px;
  --leading-body: 1.6;
  --text-body-sm: 13px;
  --leading-body-sm: 1.55;
  --text-label: 12px;
  --leading-label: 1.4;
  --tracking-label: 0.08em;
  --text-coordinate: 11px;
  --leading-coordinate: 1.4;
  --tracking-coordinate: 0.04em;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-64: 64px;
  --spacing-96: 96px;
  --spacing-112: 112px;

  /* Layout */
  --page-max-width: 1280px;
  --section-gap: 96px;
  --card-padding: 28px;
  --element-gap: 16px;
  --density: comfortable;

  /* Border Radius */
  --radius-cards: 17px;
  --radius-buttons: 999px;
  --radius-inputs: 12px;

  /* Surfaces */
  --surface-paper: #fafaf8;
  --surface-pale-card: #eeeeeb;
  --surface-electric-blue: #2152e7;
  --surface-night-field: #111212;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Quantized Line Field — Frequently Asked Questions

What is the Quantized Line Field design style?
Translate a mark's luminance into four weights of vertical lines, with slow drift, spring displacement, and grid-aligned scan overlays. Its core principle: Break a mark into light and rebuild it with four weights of vertical strokes.
What colors does Quantized Line Field use?
Quantized Line Field uses #202220 as its primary color and #fafaf8 as its secondary color, with accent colors #2152e7, #c2dcff, #ec353e, #267dff. Every hex value can be copied from the palette on this page.
How do I apply Quantized Line Field correctly?
Key practices: Use bg-[#fafaf8] paper and bg-[#eeeeeb], bg-[#2152e7], bg-[#111212] card surfaces. Use font-serif display type, font-sans interface text, and font-mono coordinates. Use rounded-[17px] cards with generous spacing and consistent proportions.
What are common mistakes with Quantized Line Field?
Avoid: Do not replace the line-drawn marks with logo images or SVG elements. Do not read pixels every frame or resample paths on resize. Do not obscure strokes with blur, backdrop-blur, or shadow-lg.
How do I prompt AI to generate Quantized Line Field UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: vertical line art, luminance field, four line weights, segmented strokes.
Global Styles

Global CSS

css
:root { --qf-paper: #fafaf8; --qf-ink: #202220; --qf-blue: #2152e7; --qf-detection: #267dff; --qf-red: #ec353e; }
body { background: var(--qf-paper); color: var(--qf-ink); font-family: Arial, Helvetica, sans-serif; }
::selection { background: #c2dcff; color: #202220; }
:focus-visible { outline: 2px solid var(--qf-detection); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

Quantized Line Field and Creative Studio sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.

AttributeQuantized Line FieldCreative Studio
Primary color#202220#1A1A1A
Secondary color#fafaf8#FFFFFF
Best forvertical line art / luminance field / four line weightsstudio / creative / agency
Unique tags——
Design Philosophy

Break a mark into light and rebuild it with four weights of vertical strokes. Thin lines form the field; thick lines reveal the identity. Noise drifts downward while pointer impulses part nearby segments and springs return them to the grid.