jukebox
All repositories: gitoria
930 B
// ONE CSS CUSTOM PROPERTY, declared as a value: `bg = var('#FFF')` in a styles file// (`import { var } from 'hl:web/css'`). The sheet walker (css.hl) gives it its NAME// from the member it is bound to, writes `--bg: #FFF` into the sheet's one `:root`,// and every use — `color = bg`, or inside a composed value `'1px solid ' + rule` —// becomes `var(--bg)`. Inside a composed value the name is not known yet (the// string is built when the styles file is constructed, before the walker names// anything), so the text carries a PLACEHOLDER by id that the walker replaces.value = null // the declared value, as writtendark = null // the value under prefers-color-scheme: dark, or nullNumber id = 0 // minted at construction; the walker maps id → namename = null // set by the walker from the member that holds it__toString() {return 'var(--hlv' + id + ')'}
Branches
Latest commits
- 9bcbb017Records: day38b waits for day39 fixmre
- f80504e1Records: day38b repro sentmre
- 8048258bRecords: day38b jb3 regression, L1 Chromes stoppedmre
- 68aace7fRecords: mission 003 day38bmre
- d105d8a9Records: mpackdb integrity check cleanmre
- 6e980c53Records: mpackdb rule refinementmre
- 6d335ac4Records: storage copy rulingmre
- 7eb2898dRecords: mpackdb second-opener rule until day38mre
- b011f98eRecords: style form live on day35mre
- 60d90cb2Records: L1 woken for the restartmre
- 75ae544fRecords: restart waits for the connection to closemre
- e0b75951Records: L1 merged and pushed, restart waits for an open connectionmre
- f2b5db98styles: format styles with nested rules and bare queriesmre
- f036bab4search: format styles with nested rules and bare queriesmre
- ef9a9d4asongs: format styles with nested rules and bare queriesmre
- f22f9aacmain: format styles with nested rules and bare queriesmre
- f56cd7c7Sync icons from 8176eb1 and verify mixed component sourcesmre
- d56e5054Sync theme and shared tokens from layouts 17e0f03mre
- b1362547Re-vendor to Hybriel set day35mre
- 89e10f08Records: mission 002 rollback wordingmre