Buttons, switches and radios you can feel under the cursor, set in a page that reads like a broadsheet: IBM Plex Sans body, Newsreader headings, mono caps for every label. One stylesheet, one script, nothing to build. Every state lives in the markup, so a saved page reopens exactly as it was.
Stylesheet
1 file
Script
1 file
Components
39
Tokens
27 + shadow
Dependencies
0
Two hinges hold the whole kit.
Every component is a semantic class in @layer components, so any utility or unlayered rule you write wins with no !important. And every visible state lives in the DOM: native attributes, :has(), an inline custom property, chips as real elements. document.documentElement.outerHTML is the save format, which is what makes it the kit for self-saving HTML.
The bevel means pressable. Buttons, boxes, rings, thumbs, nubs, steppers and chips get the raised edge. Fields stay flat and recessed. Content stays flat with a hairline. Nothing else on the page is embossed, which is why the embossed things read.
Start two tags
Load it
From jsDelivr, pinned to the version you tested against. The fonts file is separate so you can skip it or swap it for a Google Fonts link.
Or npm install @panphora/bevel and import @panphora/bevel/bevel.css, @panphora/bevel/bevel-fonts.css and @panphora/bevel/bevel.js. The font URLs are relative to the fonts file, so a vendored copy works offline. The Google alternative is one link instead of the fonts file:
Put bevel-page on body for the 768px column and the typographic defaults. Every rule under it rides :where(), so any class beats it. bevel-page--wide widens to 1080px.
Bevel means pressable. If it has the raised edge you can press it. If you can press it and it is not a link, it has the edge.
Fields are flat and recessed. Text goes into a hairline box on the surface. The focus ring is 2px brass, offset 1px on fields and 2px on everything else.
Ink acts, brass works, ox warns, teal confirms. The primary button is ink. Links and focus are brass. Destructive actions and errors are ox. Confirmed states are teal. One primary per view.
Anything with a digit is mono. Figures, ids, dates, table cells, labels in caps. Language is sans. Headlines are the serif.
Square corners, no gradients. The only curves are the radio ring and the small round remove buttons.
Twenty-seven colour tokens, every in-between state a color-mix(). Components never hold a literal colour. Dark mode is light-dark() on the same names; .light and .dark force any subtree.
One shadow tier. The verdict card, the table wrapper, the chip panel and cards raise on --bevel-shadow. Nothing else floats.
State lives in the markup. Native attributes for form state, :has() for the drawn parts, an inline --bevel-value for the slider, real elements for chips. The script mirrors live values back into attributes so outerHTML is complete.
Controls 17
Button
The raised bevel: light top and left, dark right and bottom, real borders so the corners mitre. The face is a material of its own, bone on cream and slate on navy, so a resting button reads as a closed shape on the page and on a card. Pressing swaps the edges and sinks the label one pixel. The label span is what moves. The danger button is a solid block like the primary: a dark red nearing brown, with its own three stops and a cream label. Quiet bevel keeps the beveled face without a moving label or added shadow.
One glyph and no visible text, so every icon button carries aria-label. The raised square is pressable like any bevel button; add bevel-button and wrap the glyph in bevel-button__label to get the hover and the one-pixel press. bevel-icon-button--flat drops the edge for a 28px square in muted ink that sinks on hover. Use it for row tools, sidebar toggles and the other quiet relatives of a raised button.
Text input
Flat and recessed. bevel-input--mono for a figure, a hex, an id. bevel-input--small drops to 14px. Wrap it in a bevel-field for the label and the hint.
Lowercase letters, digits and dashes.
Textarea
Same box, vertical resize. The script mirrors what you type into the element's text, so the value survives a save.
Number
A flat mono field with two beveled steps stacked at its edge. The steps call the native stepUp() and stepDown(), so min, max and step just work.
Select
A native select with the OS arrow hidden and a hairline chevron drawn on the wrapper, out of the click path.
Checkbox
The native input is visually hidden and still focusable; the box is drawn, the mark is two borders. Checked is a pressed-in body: its own floor and two walls, the mark sunk 1px (DECISIONS 0011).
Radio
Round, so the two edge colours come as inset shadows: a lit rim on a circle. The dot is ink, centred in the ring with the wall counted as part of the circle, so it does not sink the way a checkmark does.
Toggle
A recessed channel and a beveled thumb. On is a lighter track, never an accent: a switch is a setting that applies immediately, not a confirmation.
Slider
A hidden native range over a drawn track, fill and nub. The wrapper's inline --bevel-value must match value so the fill is right before any script runs. bevel-sliderrow adds a mono readout the script keeps honest.
Autosave delay
Small
Date
The native date input in mono, its picker indicator stretched invisibly over the icon so the whole right edge opens the calendar.
File
A small bevel button wrapping the hidden input, and the chosen name in mono beside it. The script writes the name and adds a remove button; a server-rendered file can be a link. A locally chosen file cannot be saved into the document, so a reopened page shows the empty label again; once uploaded, render the name as a.bevel-file__name[data-filled] with its href. bevel-file--compact boxes the whole row.
A sunk frame with a placeholder and a hidden preview. The script shows a local preview from a blob URL, which does not survive a save: upload it and set a real src. bevel-image--compact is the thumbnail form with a remove badge.
No image
Tags
A flat field holding beveled chips. Each chip carries a hidden input named by data-name, so the set posts with the form and round-trips as DOM. Enter or comma adds, Backspace on an empty field removes the last.
designlaunch
small
Sortable
Rows with a grip. Drag the grip and the row moves through its siblings; the list fires bevel:reorder with the old and new index. Each row's fields are flat and labeled in mono caps. Exactly eight dots.
Step
Step
Owner
Step
Small
Chip
A collapsible recovery prompt: a small button that opens into the kit's one raised panel. Open, collapse and the changes list are classes, so the state round-trips. In a self-saving app, mark the block no-save.
Recovered
A draft from an earlier session
Saved 14 min ago ·
titleUntitledQ3 plan
owner(none)David
tagsdesigndesign, launch
Field, fieldset, form, input group
bevel-field stacks a mono-caps label, the control and a hint. bevel-form is a two-column grid that collapses under 640px; bevel-form__full spans it. bevel-igroup glues affixes to an input. A required field that fails validation turns its label, border and alert hint ox after the person has touched it (:user-invalid); aria-invalid="true" does the same for server errors.
Content flat, with a hairline
Note
A callout with a grade in mono caps. Flat on purpose: bevel means pressable, a note is content. The tints mix the soft accent most of the way into the surface so a stack of them stays readable. bevel-note--stack puts the tag above the body.
Note
Plain notes carry context the reader may skip.
Confirmed
The round trip held: every state on this page survived a save and a reload.
Caution
The image preview is a blob URL. It will not be there after a save.
Failed
The checked state is still provisional.
A design round decides it before 0.1.0 publishes.
Callout and hint
A callout is a recessed aside with no accent, for the paragraph the reader must not skim. A hint is one line of small print under a control; bevel-hint--alert turns it ox and, inside a field, only shows while the control is invalid.
Keep the bevel for things you press. The moment a card or a note gets the raised edge, the buttons stop reading as buttons.
A hint sits directly under its control, 13.5px, muted.
An alert hint is ox and reads as a sentence.
List
Square markers for a set of rules, zero-padded mono counters for a sequence. Nested lists get a hollow square.
Bevel means pressable.
Fields are flat and recessed.
The focus ring is brass.
The border is a hairline.
One primary per view.
Install the two files.
Put bevel-page on body.
Copy a component from this page.
Badge and pill
Badges grade claims: --for confirms, --against contradicts, --note is unresolved, --alert needs action, --accent is brass. Pills report operational status with a square marker; --live breathes, --warn and --down do not.
DefaultForAgainstOpenAlertNew
IdleLiveDegradedDown
Progress and gauge
A native progress in the slider's clothes: ink by default, teal, brass or ox only when the reading is a judgement, --blocks for a stepped bar. A gauge is one hairline row of label, bar and mono value.
Uptime99.9%
Storage8.1 GB
Error rate12%
Builds37
Table
Always mono, always inside bevel-scroll, opened by a caption in the sans. A cell's b is its value and its i is its context. State helpers by descent: win, lose, nil, dn, sel. A bevel-table__pick cell holds a checkbox and its row tints through :has(). Modifiers: --striped, --hover, --small, --left.
Cold-visit cost per page, September 1. Winners in teal, the row under review flagged.
Page
Requests
Bytes gzip
LCP p75
Pick
Homehyperclay.com
4112 js
612K-46%
1.8s
Features/features
5819 js
1.4M+3%
3.9s
Pricing/pricing
224 js
210K
n/a
Total
121
2.2M
Token
Light
Dark
ground
#F6F7F9
#11151B
ink
#171C24
#E6EAF1
brass
#8F6310
#D9A445
Data grid
A grid is a tool where the table above is content. One frame: a toolbar with the title, a count and whatever acts on the set; a scroll box whose head, spine and aggregate strip stay put while the rows move under them; a status bar with the selection, the range and the pages. Language is sans, anything with a digit is mono, and alignment follows the type. Heads sort flat, like tabs. The expander and the row menu are pressable, so they get the bevel. Every state is an attribute: aria-sort on a head, checked on a pick, aria-expanded on an expander, data-page on the frame and value on the search, so a saved grid reopens sorted, selected, expanded and on its page. The script sorts rows in place (data-type="number" or "date" on the head, a hidden key in data-sort on a cell), keeps the select-all honest, pages by data-page-size, searches the row text, and never removes a row from the DOM. Without script the head, the spine and the strip still stick and every row shows. Give the scroll box a max-height and the head, the spine and the aggregate strip stay put.
The parts: bevel-grid__pick is the selection column and bevel-grid__n the row-number gutter, both sticky; bevel-grid__anchor is the sticky first column, a th with scope="row". Cells take bevel-grid__num, bevel-grid__id, bevel-grid__date or bevel-grid__center by type, and hold a pill, a badge set in bevel-grid__tags, an actor with an avatar, or a meter around a small progress bar. Rows take bevel-grid__row--changed for an unsaved edit (a brass dog-ear) and bevel-grid__row--disabled; a bevel-grid__group row opens a section and a bevel-grid__detail row after any row holds its panel. Modifiers on the frame: --dense, --ruled, --striped.
Sites 6
Row
Status
Actions
No sites match
Clear the search to see all six.
Live 4
notes
DMDavid
Live
12,480
2026-09-05
notes.hyperclay.com, custom domain notes.example.com, 14 versions, autosave on.
Last saved by David from Hyperclay Local, 2026-09-05 at 16:42.
kanban
SLSanford
Live
8,102
2026-09-04
kanban.hyperclay.com, 31 versions, autosave on.
devlog
DMDavid
Live
5,310
2026-09-06
landing
ALAda
Degraded
6,010
2026-08-30
Draft 2
writer
DMDavid
Draft
0
2026-09-01
archive
ALAda
Retired
0
2026-07-12
rows6
owners3
live4
sum31,902
latest2026-09-06
1 selectedRows 1 to 6 of 68 fields
Empty and loading
Both live in the body, so the head and the frame stay where they are. An empty row carries a kicker and one sentence; a loading grid is aria-busy with skeleton rows that breathe. A hidden empty row in a searchable grid shows itself when the search matches nothing.
Members 0
Name
Role
Sites
No members yet
Invite one and they appear here.
Versions loading
Saved
By
Size
Skeleton and empty
A loading card is a stack of sunk bars that breathe; hd makes the first one a heading. An empty state is a dashed box with a kicker and one sentence.
No sites yet
Create one and it appears here with its last save time.
Rows and card
Labeled rows (bevel-rev) record decisions; evidence rows (bevel-ev) test claims with a badge in the left column. A bevel-card is the plain raised box for anything else.
0001
Checked state: shallow recess, pending the design round. provisional
0002
Square corners everywhere. The radio ring is the exception because a square radio reads as a checkbox.
Holds
Every state on the page round-trips
Proven by scripts/roundtrip.mjs on the docs page itself.
Open
The dark-mode checked state
Four candidates rendered in both themes; David picks.
A card is the raised surface with nothing else decided. Put a heading in it, or a form, or a paragraph.
Data table 13 fields · 40 records · one document
A working surface for the details.
Forty invoices, twenty to a page. Sort a column, narrow the view, select a page, or open an invoice for context. The totals follow the view and the search. Scroll inside the frame and the head, the spine and the aggregate foot stay in place.
Fieldwork studio / Operations
Invoice ledger.
Good work has a lot of moving parts. Keep them in view.
REGISTER 026 / Q3 2026
Invoices
40
Invoice total
$473,440
Approved
28
Average paid
52%
Row
Tags
Actions
No invoices match
Clear the search or choose All to see more invoices.
INV-0401
Cobalt Energy
Paid
SLSanford Leach
$14,490.00
100%
2026-07-16
2026-08-16
rushhosting
INV-0402
Meridian Clinic
Paid
ALAda Lovett
$20,930.00
100%
2026-09-03
2026-09-03
rush
INV-0403
Juniper Health
Sent
RCRiley Chen
$4,960.00
0%
2026-09-02
2026-09-02
retainer
Juniper Health / INV-0403
Invoice sent. Payment is pending.
INV-0404
Lumen Foods
Paid
JPJune Park
$16,300.00
100%
2026-09-23
2026-09-23
support
INV-0405
Pinewood Camp
Due soon
DMDavid Miranda
$14,990.00
30%
2026-07-25
2026-08-25
design
INV-0406
Atlas Logistics
Sent
SLSanford Leach
$17,310.00
0%
2026-09-25
2026-09-25
support
INV-0407
Tandem Robotics
Overdue
ALAda Lovett
$8,400.00
10%
2026-08-11
2026-09-11
launch
INV-0408
Slate Roofing
Paid
RCRiley Chen
$13,570.00
100%
2026-07-13
2026-08-13
hosting
INV-0409
Morrow Studio
Sent
JPJune Park
$7,440.00
0%
2026-09-17
2026-09-17
retainerhosting
INV-0410
Forma Architecture
Due soon
DMDavid Miranda
$13,940.00
10%
2026-07-17
2026-08-17
hosting
INV-0411
Willow Bakery
Paid
SLSanford Leach
$11,060.00
100%
2026-07-22
2026-08-22
launch
INV-0412
Cedar Financial
Sent
ALAda Lovett
$20,460.00
0%
2026-08-18
2026-09-18
rush
INV-0413
Harbor Press
Paid
RCRiley Chen
$9,690.00
100%
2026-08-20
2026-09-20
launch
INV-0414
Granite Works
Overdue
JPJune Park
$14,970.00
0%
2026-07-22
2026-08-22
support
INV-0415
Orbit Learning
Due soon
DMDavid Miranda
$12,420.00
20%
2026-07-24
2026-08-24
launchdesign
INV-0416
Quill and Ink
Paid
SLSanford Leach
$16,620.00
100%
2026-08-05
2026-09-05
support
INV-0417
Ember Coffee
Paid
ALAda Lovett
$5,630.00
100%
2026-08-22
2026-09-22
retainer
INV-0418
Fieldwork Co.
Sent
RCRiley Chen
$10,340.00
0%
2026-07-28
2026-08-28
launchhosting
INV-0419
Sable Outfitters
Paid
JPJune Park
$17,420.00
100%
2026-09-08
2026-09-08
launch
INV-0420
Northstar Labs
Due soon
DMDavid Miranda
$9,710.00
50%
2026-08-27
2026-09-27
support
INV-0421
Cobalt Energy
Overdue
SLSanford Leach
$9,590.00
40%
2026-09-13
2026-09-13
retainerrush
INV-0422
Meridian Clinic
Paid
ALAda Lovett
$4,660.00
100%
2026-07-10
2026-08-10
design
INV-0423
Juniper Health
Paid
RCRiley Chen
$16,010.00
100%
2026-09-07
2026-09-07
hosting
INV-0424
Lumen Foods
Sent
JPJune Park
$4,780.00
0%
2026-08-18
2026-09-18
rushlaunch
INV-0425
Pinewood Camp
Due soon
DMDavid Miranda
$3,210.00
50%
2026-08-09
2026-09-09
support
INV-0426
Atlas Logistics
Paid
SLSanford Leach
$8,780.00
100%
2026-07-18
2026-08-18
retainerrush
INV-0427
Tandem Robotics
Sent
ALAda Lovett
$11,010.00
0%
2026-09-03
2026-09-03
hostingdesign
INV-0428
Slate Roofing
Overdue
RCRiley Chen
$18,500.00
40%
2026-07-26
2026-08-26
retainer
INV-0429
Morrow Studio
Paid
JPJune Park
$18,240.00
100%
2026-07-26
2026-08-26
launch
INV-0430
Forma Architecture
Due soon
DMDavid Miranda
$5,570.00
0%
2026-09-22
2026-09-22
hosting
INV-0431
Willow Bakery
Paid
SLSanford Leach
$19,630.00
100%
2026-08-06
2026-09-06
launch
INV-0432
Cedar Financial
Paid
ALAda Lovett
$14,530.00
100%
2026-08-09
2026-09-09
hosting
INV-0433
Harbor Press
Sent
RCRiley Chen
$20,560.00
0%
2026-07-28
2026-08-28
design
INV-0434
Granite Works
Paid
JPJune Park
$16,700.00
100%
2026-08-20
2026-09-20
design
INV-0435
Orbit Learning
Overdue
DMDavid Miranda
$410.00
10%
2026-08-02
2026-09-02
rush
INV-0436
Quill and Ink
Sent
SLSanford Leach
$5,420.00
0%
2026-07-14
2026-08-14
hostingsupport
INV-0437
Ember Coffee
Paid
ALAda Lovett
$4,120.00
100%
2026-07-23
2026-08-23
support
INV-0438
Fieldwork Co.
Paid
RCRiley Chen
$2,450.00
100%
2026-09-21
2026-09-21
design
INV-0439
Sable Outfitters
Sent
JPJune Park
$7,920.00
0%
2026-07-08
2026-08-08
hostingrush
INV-0440
Northstar Labs
Due soon
DMDavid Miranda
$20,700.00
30%
2026-07-19
2026-08-19
hosting
rows40
customers20
paid18
owners5
sum$473,440.00
avg52%
first2026-07-08
last2026-09-27
yes28
0 selectedRows 1 to 20 of 4013 fields
Functional components 38
Build the whole interface.
Explore the controls together, or open an individual example to work with it on its own. Applications supply storage, requests and business rules.
Keep the useful things close. Field notes brings the documents, decisions and small details of a project into one place.
Northstar StudioProjectsField notesDocumentsThe field guide
Pagination
Northstar Studio / Field notes
Every record has a place.
Invoices / All clients
Invoice
Client
Amount
Status
Tree View
Navigation / 17
A place for every document
Folders open in place and keep their contents aligned.
Northstar Studio12 files · 4 folders
›Projects
›Field notes›Website
›Archive 0
No documents here yet.
Wizard Shell
Northstar Studio / Field notes
Make a space for good work.
A few thoughtful choices to get started.
Toast Stack
Feedback / 19
A small acknowledgement
Enough feedback to know what happened.
Persistent Action Banner
Feedback / 20
Keep an unresolved thing visible
A lasting notice belongs with the work it affects.
You are working offline.
Your recent changes are waiting to sync. Keep this page open until the connection returns.
Example transport: deterministic local application response.
Field notes
Draft
A working collection of ideas, decisions and useful details.
Deleting 12 items…
7 of 12
Delete results: 6 succeeded, 1 unchanged. Each item reports as it finishes.
We didn't get a response for Move 3 items
The response was lost. This change may have completed.
Current state matches the requested change. Current name: notes.html · Folder: client-work · Visibility: Private
Started 2 minutes ago · This is a snapshot, not an operation receipt.
Save Status Indicator
NORTHSTAR STUDIO / FIELD NOTESDraftFIELD NOTE / 001
A place for good work.
Keep the useful things close. Field notes brings the documents, decisions and small details of a project into one place.
A little room to think. A clear place to begin.
Code Block
NORTHSTAR STUDIO / FIELD NOTES
Small code. Clear intent.
A readable home for the details.
field-note.htmlHTML4 lines
<articleclass="field-note"><h1>A place for good work</h1><pdata-description="Documents, decisions and the small details that make a project feel like home">Keep the useful things close.</p></article>
Copy takes the whole file. Wrap keeps long attribute lines in view.
Code Editor
Files / landing.html
The file, open where it lives.
The chrome around a mounted editor: the file tab, the tool row, the surface and the status strip. Below 640px the tool row stands down and the bar that rides above the software keyboard takes over.
landing.htmllanding.hyperclay.com
<!-- the first thing a visitor reads --><headerclass="hero"data-count="3"><p>Everything lives in one file, and the file stays yours the day you stop paying anyone for it.</p></headr><style>.hero{padding:48px0;}</style>
Saved 2h ago by panphora182.6 KB2,625 lines
Diff View
Reference / 23
See what changed
The before and after stay close enough to compare.
field-note.html
+2−2
<article class="field-note">
<h1>A place for ideas</h1>
<h1>A place for good work</h1>
<p>Keep everything close.</p>
<p>Keep the useful things close.</p>
</article>
Activity Feed
Northstar Studio / Field notes
The work, as it happens.
Small changes add up to something good.
Today / September 07
MC
Mira Chen updated A place for good work
Clarified the introduction and added the field guide.
The new flow reads clearly. Ready for one last look at the copy.
SP
Sam Patel 2 h ago
Tightened the welcome line. It is on the card now.
Mira moved this from Up next to In progressYesterday
Created Sep 02 by Jules Park
FN-105High
Polish the document export
Engineering
Blocks FN-104 · Make room for good work
1/3
FN-106Normal
Give every empty state a voice
Editorial
2/3
Done
2This week
No tasks in this lane.
FN-107Normal
A calmer workspace navigation
Design
4/4
FN-108Normal
Write the first welcome
Editorial
3/3
Four lanes. Scroll the board sideways for Done.
Archive this task?
The task stays in its current lane and can be restored.
No tasks yet. Add a task to begin.
Assignees
Priority
Due
Labels
Estimate
Checklist 0/0
Due date range
Bulk Bar
Selection / 34
Act on what you picked
The bar arrives with the first pick, counts the selection and leaves when it clears.
2 selected
File Tree
Hyperclay / Sidebar
The whole account, one column wide.
Folders, sites and dimmed uploads on 28px rows. The filter hides what does not match and opens the folders that do, the picked row keeps the brass bar, and a folder under a drag takes the brass tint.
No file matches that filter.
card-canvas.html
Rows
28px, 13px IBM Plex Sans
Depth
18px per level, guide always on
Uploads
Dimmed to the faint token
Drop
writing is under a drag
Assembled examples
Page chrome the broadsheet
Eyebrow, kicker, lede, pull quote
An eyebrow opens a section on a hairline with an optional right-hand count; bevel-eyebrow--bare drops the line. A kicker is the same mono caps in muted, for a label inside content. The lede is the first paragraph at 18.5px. A pull quote is Newsreader italic between two hairlines. bevel-measure caps prose at 70ch.
Findings 4 of 12
Field notes
The lede carries the one sentence a reader who stops here should leave with.
A control owns every pixel of its face.mirk, decision 0033
Tabs
Mono caps on a shared hairline; the selected tab re-inks and takes a 2px brass underline. A tab is a place, not a press, so it stays flat. The script handles clicks, arrow keys, Home and End, and toggles hidden on the panels named by aria-controls.
The overview panel.
Every save is a version you can restore.
Settings apply immediately.
Details
A boxed stack of drawers. The summary is pressable, so it carries a beveled latch that takes the checked recess while the drawer is open, and the open body is a sunk panel directly under it, edge to edge, so every line meets the box. Native details: it works without script and open round-trips. Adjacent drawers share their dividers.
Why real borders instead of box-shadow?
Borders mitre at the corners, so the light and dark edges meet on a diagonal the way a machined bevel does. Shadows overlap in a square.
Why is the radio the exception?
A square radio reads as a checkbox. The ring keeps the same two edge colours as inset shadows, which is the round form of the same bevel.
The dot is centred in the whole ring, wall included.
Why is the toggle's on state gray?
A switch is a setting that applies immediately. Brass on it read as a warning.
Segmented control
Adjacent small bevel buttons in mono caps. The pressed one takes the checked recess and stays down. Give every button aria-pressed and the script makes the group single-select and fires bevel:seg with data-value.
For navigation, make the group a nav with bevel-seg--links and every item a link. The current page carries aria-current="page" and takes the same recess; the other links stay raised with muted labels until the pointer reaches them. Links navigate, so the script leaves them alone.
Steps
A numbered vertical sequence on a hairline. done turns the number into a teal check; now rings the current step in brass and labels it.
Author the stylesheet
Tokens, base, every component.
Prove the round trip
Serialize, reload, assert.
Decide the checked state
Four candidates in both themes.
Publish 0.1.0
Outside the quiet window.
Tooltip and key
A tip is a dotted underline whose data-tip appears on hover or focus, in mono on ink. A key is a hairline chip in mono. Inside bevel-page a bare kbd gets the same look.
Press ⌘S to save. The LCP figure is measured in the field.
Masthead and verdict
The top of this page is the masthead: an eyebrow row, a Newsreader headline with one emphasized word, a dek, and a tape of mono figures (dn turns one ox). The verdict card under it is the raised summary a reader who stops there still gets. Both are shown in place rather than repeated here.
Report · week 36
Live
The cold visit got faster.
One nginx line did more than a CDN would have.
Bytes
612K gzip
Change
-46%
Requests
41
Colour 27 tokens, one shadow
Every token is one light-dark() pair on :root: cream by day, navy by night. Set data-theme="light" or "dark" on html, or put .light or .dark on any element, to force a subtree; the forced element paints its own ground. Print is always light with no shadow.
ground
surface
sunk
ink
ink-2
muted
faint
line
line-2
brass
brass-soft
ox
ox-soft
teal
teal-soft
face
edge-hi
edge-lo
face-in
edge-in
edge-in-hi
knob
knob-hi
ox-face
ox-edge-hi
ox-edge-lo
ox-ink
Both modes at once
The same markup under a forced .light and a forced .dark. This is how the design round compares candidates on one screen.
Script bevel.js
One delegated listener per interaction on document. No init, no observer, safe to include twice. The page is correct before it runs; it drives the transitions and keeps the markup honest.
What the script does, and the events it fires on the component root. All bubble.
Component
Behaviour
Event
every control
mirrors value, checked, selected and textarea text into attributes
native input / change
number
steps call stepUp / stepDown and fire input + change
native
slider
writes --bevel-value and the row's output
native
file
shows the name, adds and handles the remove button
bevel:remove
image
local preview from a blob URL, remove
bevel:remove
tags
Enter, comma and blur add; Backspace and × remove
bevel:tags
sortable
pointer drag on the grip reorders
bevel:reorder {from, to}
chip
data-bevel-chip: open, collapse, changes
classes
tabs
click, arrows, Home, End; toggles hidden on panels
bevel:tab {tab}
seg
single-select across siblings with aria-pressed
bevel:seg {value, button}
grid
sorts rows in place, keeps the select-all honest, expands, searches, pages; all of it as attributes
The new flow reads clearly. Ready for one last look at the copy.