About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
hackermusic
2000.nyc
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
hackermusic
/
src
/
lib
/
theme
7 files
at
main
2000.nyc
·
A count and its noun agree, wherever the count is printed
·
1mo ago
0de64bc8
accent.test.ts
The theme follows the machine and the record's colour survives both grounds: a light theme turned out to be a derivation problem, not a palette one.
2mo ago
accent.ts
A count and its noun agree, wherever the count is printed
1mo ago
index.test.ts
The theme follows the machine and the record's colour survives both grounds: a light theme turned out to be a derivation problem, not a palette one.
2mo ago
index.ts
The load gets a flamegraph, and the four seconds stop being a rumour: `:timeaudit` draws every interval measured while a track was being loaded, on one axis, in lanes, with the overlaps kept. The console trace answers *what is this load waiting on*, which is the question a hung track asks; a track that loads successfully and slowly asks *where did the time go*, and a list of lines cannot answer that, because the stages of a load are not a list. The cover's palette is fetched while the stream is still arriving, the waveform fold runs between the decode and the first sample, and the detector's search sits on another thread for exactly as long as the main one draws the row — read as lines, that is a timetable with the concurrency flattened out of it, which is the exact thing that needs seeing.
2mo ago
mode.test.ts
The theme follows the machine and the record's colour survives both grounds: a light theme turned out to be a derivation problem, not a palette one.
2mo ago
mode.ts
The theme follows the machine and the record's colour survives both grounds: a light theme turned out to be a derivation problem, not a palette one.
2mo ago
palette.test.ts
One colour in the theme is now chosen by the record being heard, and the seam between what the cover decides and what the app decides is the whole feature. The record lends the hue and the chroma; the app keeps the lightness, because --accent is ink as well as fill — the query text, the share line, the playing row's title, all at 11px — and a colour taken out of a photograph is a colour a photograph chose, which is generally dark: covers are photographs, and the palette's own vivid-preference has to fight that before the derivation ever starts. Parked at the house green's lightness (0.695, where #3fb950 measures oklch(0.695 0.181 146)) every hue lands between 6.7:1 and 8.7:1 on --panel and between 4.34:1 and 5.15:1 on the typing wash, so about half the wheel is lifted a few hundredths until it clears WCAG's 4.5:1 for body text and nothing lands under it; the floor is the standard's number rather than a number chosen for this theme, which is the only reason it is worth checking. The wash is modelled in Oklab for the same reason the browser mixes there: a channel blend of the green into --panel at 34% lands at rgb(26,68,32) and the real wash at rgb(29,59,32), and that difference is enough to move which side of the floor a hue falls on, which is how a legibility check stops meaning anything if you skip it. Chroma is bisected down to what sRGB can show rather than left for the conversion to clip, because clipping is not a quiet failure — an ochre came back 17° round the wheel, orange gone to olive, which is the sleeve being misquoted rather than quoted quietly — and --accent-dim is derived by ratio rather than by fixed lightness so the dim of a crimson record stays the dim of a crimson record and stays a border rather than becoming a second accent.
2mo ago