KONBINI

KONBINI

design system

one sky one scene whole pixels

コンビニ

A design system drawn as a series of pixel travel posters about quiet everyday places. Every surface is a poster: one vertical sky falling into snow-white paper, heavy display type floating in the sky, small type resting on the paper, and one carefully built pixel scene as the centrepiece.

Two things to hold on to. All illustration is pixel art on a whole-number grid - rectangles only, scaled 1x, 2x, 3x or 4x and never in between. And there is exactly one gradient: the vertical field behind the display type. Everything else is a flat fill.

00

read this first

  1. These values are the system. Every colour on this page is a token in css/konbini-core.css. Use them; do not add an eleventh ink.
  2. Look for an existing part before drawing a new one. The plate, the chip, the band and the folio cover more ground than they seem to.
  3. No ad-hoc values. No raw hex - pixel art included, it fills with the --art-* inks. No fractional pixel scale, no blur, no easing curve.
  4. Token names are roles. --lit is whatever catches light; --ink is every word on paper. Read what a token is for, not what colour it happens to be today.
  5. One gradient, vertical, and it is the field. Nothing else grades: not a button, not a word, not a shadow.
  6. The accent never carries text. It is the sign's colour - stripes, marks, a cone. A word set in it is a word nobody can read.

colour

10 roles, 8 art inks

Ten flat colours and nothing else. Every plate below is split: day on the left, night on the right, so both posters are on the page at once. The night poster is the same street after dark - the sky goes to ink, the paper to blue snow - never a neutral grey.

--field-topTop stop of the one gradient.#5fb2dd#0a1430
--field-midMiddle stop, pinned at 55%.#8ecbe9#1b2d5a
--field-lowThe horizon. Where the field meets the paper.#c9e6f4#3d5590
--paperThe page, and the ground under every scene.#f4f8fa#0e1629
--plateRaised plates: buttons, fields, chips, frames.#ffffff#17223d
--litWhatever catches light: display type on the field.#ffffff#f1f5fb
--inkEvery word on paper. Links. The primary plate.#2563eb#8db3ff
--ink-strongThe strongest ink: pixel-step borders, labels, hover.#2b3a55#dbe5f4
--accentThe sign's warm stripe. Marks, never words.#f08c1e#ff9b3d
--recedeWhatever is far away: flat shadows, disabled.#a8cede#34466f

the art ramp - inks for pixel illustration

Pixel art never reaches for a UI role directly; it is filled with these eight inks. Seven are aliases, so the scene follows the page through a theme flip. --art-line is authored on its own, and --art-glass changes its alias at night.

--art-litSnow caps, lit faces. = --lit#ffffff#f1f5fb
--art-lineOutlines, frames, dark detail. Authored per theme.#2b3a55#506596
--art-farDistant silhouettes. = --recede#a8cede#34466f
--art-hazeHaze near the horizon. = --field-low#c9e6f4#3d5590
--art-groundThe ground strip. = --paper#f4f8fa#0e1629
--art-detailPainted detail, posters, poles. = --ink#2563eb#8db3ff
--art-accentSign band, cone, marks. = --accent#f08c1e#ff9b3d
--art-glassGlass. = --field-top by day, --lit at night.#5fb2dd#f1f5fb

the contrast floor

pairdaynightverdict
--ink on --paper4.8:18.6:1Body text. Clears AA 4.5:1 in both.
--ink on --plate5.2:17.5:1Text on buttons, chips and fields.
--plate on --ink5.2:17.5:1Primary plate and selected chip label.
--ink-strong on --paper10.7:114.2:1Labels, sub-heads, pixel-step edges.
--ink-strong on --field-mid6.5:110.5:1Small type on the field: captions, the spaced line.
--lit on --field-top2.4:116.6:1Display on the field. Poster size only - by day it is a shape, not a sentence.
--art-line on --paper10.7:13.1:1Icon outlines on the page. Clears the 3:1 floor for graphics in both.
--art-line on --field-mid6.5:12.3:1Poles and wires against the sky. Decoration: read as silhouette, not detail.
--recede on --paper1.6:11.9:1Disabled and far away. Never body text.
The old names were hues, and the night poster would have made every one of them a lie. What is navy by day is near-white at night; what is white on the field stays white, but the plate it used to share a name with goes dark. So --ink-strong names the job - the strongest ink on the paper - and --lit and --plate are separate roles that happen to match in daylight. --art-line is authored on its own for the same reason: an outline dark enough to sit beside text is invisible around a silhouette against a night sky.
01

typography

2 stacks, 11 voices

One neutral grotesque does almost everything, from giant display to the smallest label. A system CJK stack sets kana as graphic shape. Both are platform fonts - nothing is downloaded, nothing is vendored.

display - on the field, at real size

POSTER .poster-title - clamp(3.25rem, 12vw, 8rem) / 800

kana display - as graphic, at real size

ユキ

.poster-kana - clamp(3.5rem, 16vw, 10rem) / 700, tracked 0.04em.

the text voices

section - .spread-head h2 section heading
folio - .k-pageno 03
caption - lowercase, 700 lights on the snow
spaced - .poster-sub design system
body - 400, max 62ch

A body paragraph sits on the paper in ink. It is the only voice allowed to run long, and even it stops at sixty-two characters.

footnote - 24ch, ragged right

a footnote keeps a narrow measure and sits in the corner beside its folio.

voicesize / weighttrackingwhere
.poster-titleclamp(3.25rem, 12vw, 8rem) / 800-0.03emThe poster headline, lit on the field. One per page. Line height 0.95.
.specimen-field .k-displayclamp(2.5rem, 6vw, 4rem) / 800-0.03emDisplay inside a smaller field block. Never under 32px.
.poster-kanaclamp(3.5rem, 16vw, 10rem) / 7000.04emKana as graphic texture, in ink on paper.
.spread-head h2clamp(1.75rem, 4vw, 2.5rem) / 800-0.02emSection heading. Lowercase.
.k-pageno1.375rem / 800-0.02emThe folio: a page number tucked in the corner.
.spread h31.0625rem / 800-0.01emSub-head, in ink-strong. Lowercase.
.k-body1rem / 4000Running text. Line height 1.6, capped at --measure.
.k-caption0.9375rem / 7000.01emLowercase captions, three to a row.
.poster-sub0.9375rem / 7000.28emThe spaced line under a headline. The only voice that opens up.
.k-footnote0.8125rem / 4000Ragged right at --measure-note. Line height 1.55.
.lbl0.75rem / 7000Specimen labels, in ink-strong. Lowercase.
stackfamilieslicence
--font-display"Helvetica Neue", Helvetica, Arial, sans-serifPlatform fonts. Nothing is shipped.
--font-cjk"Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serifPlatform fonts, with Noto Sans JP (SIL OFL) if the reader has it installed.
Lit type is for the field only, and only at poster size. Against the daytime sky white sits at barely 2:1 - acceptable for an 8rem word that reads as a shape, useless for a sentence. So anything small on the field is set in ink-strong, and the display voice never carries body copy. Captions are lowercase for the same reason the headline is huge: the poster has one voice that shouts, and everything else speaks quietly underneath it.
02

space and layout

enormous margins

A poster is mostly empty. One centred column, margins that grow with the viewport, and a measure that stops short - the empty paper is the material, not leftover room.

tokenvaluenote
--page-max1180pxThe column ceiling, centred.
--page-padclamp(1.25rem, 5vw, 4rem)Side margin: 20px on a phone, 64px on a wide screen.
--measure62chRunning text never runs wider.
--measure-note24chFootnotes: narrow and ragged on purpose.
spread paddingclamp(3rem, 8vh, 5.5rem)Top and bottom of every section. Scales with viewport height, not width.
--scene-px2px / 3px / 4pxOne scene pixel. Whole numbers only, switched at breakpoints - never computed.

rhythm

0.5rem8px
Label to specimen.
1rem16px
Tight rows, caption gaps.
1.5rem24px
Plate body blocks.
2rem32px
Specimen rows.
2.5rem40px
Section head to content.
3rem48px
Content to folio.

breakpoints

width--scene-pxwhat changes
≥ 1500px4pxThe scene draws at 704 x 416.
701 - 1499px3pxThe default: 528 x 312.
≤ 700px2px352 x 208 - still fits a 380px phone with its margins.
≤ 640px-Captions stack and centre; the poster foot and section heads stack.
The scene steps; it never scales. A 176 x 104 grid at 2.7px per pixel would put some pixel edges on half-pixels, and the browser would smear them. So the scene jumps between whole sizes at breakpoints and lets the margin absorb the difference. The same logic runs the whitespace: the poster is allowed to look emptier on a wide screen, because emptiness is the point.
03

form

the pixel rule

Everything is square and drawn in 2px steps. There is no radius, no blur and no stroke: a border is four flat edges that leave the corners empty, and a shadow is a second flat plate offset down and to the right.

plates and their shadows

edge - 2px, corners notched
rest - 4px offset
lift - 6px, plate up 2px
frame - 8px offset
the corner, magnified
partvaluewhy
radius0Everywhere. A pixel has no curve to give.
edge4 x 2px box-shadowTop, bottom, left, right - no corners. It reads as a rectangle drawn in pixels, not a CSS border.
rest shadow4px 4px 0 --recedeButtons at rest. Flat, zero blur.
lifttranslate(-2px, -2px) + 6pxHover: the plate rises one step and the shadow grows one step.
presstranslate(4px, 4px), no shadowActive: the plate lands exactly on its own shadow.
frame8px 8px 0 --recedeA whole poster plate, the heaviest object on the page.
sign band24px, 6px stripes / 14px, 4px stripesLit, accent, lit, held by 2px art-line hairlines. Divides sections.

whole steps only - 16 grid at 1x to 4x

1x - 16px
2x - 32px
3x - 48px
4x - 64px
The press lands exactly on the shadow, and that is the whole trick. Rest is 4px of offset, press moves the plate 4px - so pressing a button does not animate anything, it just shows you where the plate was always going to go. Every distance in the component set is a multiple of the same 2px step, which is what lets states snap without looking broken: a jump of one whole step reads as pixel art, a jump of 3.4px reads as a bug.
04

motion

posters do not move

Almost none. Two authored moments live in the hero scene - birds on the wire and one drifting cloud - and both move in whole steps with steps() timing. Component states have no transition at all: they snap.

momenttimingwhat moves
k-hop-a9s steps(1, end) infiniteFirst bird: shuffles 3px along the wire and hops 2px.
k-hop-b13s steps(1, end) infinite, 2s delaySecond bird: one hop back along the wire.
k-away17s steps(1, end) infinite, 5s delayThird bird: leaves for a moment and comes back.
k-drift160s steps(28) infinite alternateThe cloud: 28 grid pixels, one pixel per step, there and back.
statesnoneHover, press, focus and selection change in a single frame.

Hover this plate and press it: there is no in-between frame to see.

Steps, not curves, because a pixel cannot be half-way anywhere. An eased tween would move a bird through fractional positions and anti-alias it into a smudge for the length of the tween. steps() keeps every frame on the grid. Under prefers-reduced-motion the birds and the cloud stop where they are, and the poster is still complete - nothing on it ever depended on moving.
05

screen

enhancement only

One optional surface treatment: the pixel sky. It redraws the field as pixel art - cut into whole cells, its three stops dithered into each other, snow falling through it one cell at a time. The pointer is a lamp: it lifts the sky toward the horizon tone underneath it and pushes the snow sideways as wind.

static fallback - the field gradient, exactly as designed
live - move the pointer across it
uniformvaluewhat it does
uPx4 CSS pxOne sky pixel, rounded to whole device pixels. The pixel rule, enforced by the shader rather than by care.
uSplit0.55Where the middle stop sits, from the top - the same 55% as the CSS gradient.
uSpread3.0How tightly the 4x4 Bayer dither hugs each seam. At 1 the whole sky is dithered noise; at 3 it reads as flat bands with stitched edges.
uDensity0.012Share of cells holding a flake in the near layer. The far layer carries 0.6 of that.
uFall7.0 cells/sNear-layer fall speed, varied per column. The far layer falls at 0.45 of it.
uRadius0.42Reach of the lamp, in stage heights.
uLift0.55How far the lamp pushes the sky toward the horizon stop.
uDriftwind 14 / breeze 1.5 cells/sAccumulated wind. The pointer's distance from centre sets the gust; away, a light breeze.
uTop, uMid, uLow, uSnow--field-top, --field-mid, --field-low, --litRead from the live tokens and re-read on every theme change, so the night poster gets a night sky.
springk 58 / d 9Lamp and wind follow the pointer on a spring, so a gust builds and settles rather than snapping.
It can only emit four colours, and they are all tokens. Every pixel is a choice between two field stops, or snow - never a blend - so the shader is structurally incapable of anti-aliasing, grading, or inventing a hue. That is the pixel rule and the one-gradient rule made mechanical. And it is enhancement only: the canvas is transparent until its first frame, so a machine without WebGL2 sees the plain field. It stops when scrolled off screen, and under prefers-reduced-motion it draws one settled frame and never starts a loop.

Where it belongs: in a field block behind display type, or in an empty poster frame. Not behind body text, not in the hero scene - the scene already has its two authored moments - and never more than once on a page.

06

components

5, every state live

Every state here is real: hover it, press it, tab to it, type in it. The pinned rows beside the live ones hold a state still so it can be compared, and are labelled as such.

text link

live - hover, then tab for the focus ring a link resting on the paper
pinned hover - ink-strong, 2px underline a link resting on the paper

button - the poster plate

live
live primary
disabled
pinned hover
pinned active
pinned primary hover
pinned primary active

Plate, 2px ink-strong pixel-step edge, 4px recede shadow. Primary is an ink plate with plate-coloured text. Disabled drops the shadow and goes to recede.

chip - a tiny sign stripe

Click to toggle. Selected is an inversion: ink plate, plate-coloured text. The accent stripes stay - they are the chip's shape, not its state.

pagination - folios

Live: page through it. At either end the arrow is truly disabled and goes to recede.

entry - plate fields

Plate field, 2px ink-strong bottom rule, ink caret and placeholder. Focus turns the rule to ink.

Every state is a change of plate, never a change of shape. A button does not grow, round off or glow when hovered; it moves one step and its shadow follows. A chip does not gain a border when selected; it inverts. Because nothing is added, nothing has to be animated in - which is what lets the whole set snap and still feel deliberate.
07

motifs

7

What makes a page read as this system at a glance. Not the palette - a blue sky is common - but the pixel scene under it, the sign band, and the quiet type on the paper.

the pixel scene

The poster at the top of this page: one quiet everyday place, drawn rect by rect on a 176 x 104 grid, standing on the ground line where the field meets the paper. One per page, always the centrepiece. Flip the theme to see it at night - the glass lights up because --art-glass switches alias.

pixel icons - 16 grid

power pole
vending machine
traffic cone
air conditioner
small truck
snowflake
rice ball
drink can

caption row

Three short lowercase phrases spread across the full width.

a quiet street cold clear air lights on the snow

katakana block

A kana column or row in ink, used as graphic texture beside a scene or a paragraph. It is scenery, never navigation.

フユノマチ ヨル

sign band

The fascia stripe: lit, accent, lit, held by art-line hairlines. It divides sections the way a sign divides roof from storefront.

field

The one gradient, as a block display type floats in. Small type on it is ink-strong, never lit.

FIELD the long season

footnote and folio

a small paragraph in the corner, ragged right, with a page number beside it.

12

Every motif is a quiet thing at rest. A scene with nobody in it, a stripe, a page number. The system has no badges, no counters, no alerts in its vocabulary, and adding one would change what it is: a poster that shouts is an advertisement. Before adding an eighth motif, ask whether it would still belong on a poster nobody is being sold anything from.
08

composition

one plate

The parts assembled into one poster plate: a field that sets the key, a thin band, then a short run of paper with a list and an action. The placeholder copy is about the system itself, so what a reader takes away is the skeleton.

SPECIMEN plate 03

sheet heading

Specimen body copy. A plate holds one field, one band, and a short run of text on the paper beneath them; the list is the only place the plate is allowed to get busy.

  • grid unit
    sixteen by sixteen cells
    16 px
  • accent mark
    a stripe, never a word
    1 per plate
  • outline
    two pixels, notched at the corner
    2 px

anatomy

partas builtwhy it is that
frameplate + 8px frame shadowThe heaviest shadow in the system, spent once, on the object that holds everything else.
field.k-field + .k-displayThe one gradient, used once. It sets the key before anything is read.
field caption.k-caption, ink-strong, 0.28emSmall type on the field is never lit - lit is only legible at poster size.
band.k-band--thinThe seam between sky and paper. Without it the field just stops; with it, the plate reads as a sign over a storefront.
list rowicon at 2x, 32pxA whole-step icon, 2px paper rules between rows. The rule is the paper colour, so it separates without adding a line.
tallypaper plate, 3px accent top ruleThe accent marks the value; it never is the value. The number stays in ink.
actionsprimary plate + folioOne primary per plate. The folio on the right is the poster's page number, doing the job of pagination.
This is not a page from a product with the copy swapped out. The list rows describe the system's own rules - a grid unit, an accent mark, an outline - chosen precisely because they imply nothing about what the system is for. The same plate could hold a timetable, a recipe or a changelog.
09

rules

the refusals matter more

do

  • Keep margins enormous and elements few: one centrepiece per poster.
  • Snap everything to the grid: 2px steps in CSS, whole-number scale for pixel art.
  • Fill illustration with the art inks, so a scene follows the page to night.
  • Set small type on the field in ink-strong; keep lit for poster-size display.
  • Author both posters and look at each with the masthead toggle.
  • Let states snap. A plate moves one step or it does not move.

do not

  • Draw curves, circles or strokes in illustration. Rects only, integer coordinates.
  • Add a second gradient. No gradient text, no gradient buttons, no radial anything.
  • Use a blurred shadow, ever. Shadows are flat offset plates.
  • Put text on the accent. It is stripes, cones and marks.
  • Set body text in recede. Recede is for distance and for disabled.
  • Scale pixel art by a fraction: 1.5x is not a size.
  • Animate anything but the hero birds and cloud - and the optional pixel sky, once, never behind text.
10