tracker
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
- 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
- f7bfe90bMove remaining page builders into their topicsmre
- 7c3991f9log: day46 from Antonmre
- ec54fc35Move show page logic into the shows topicmre
- c1a8d074log: correct timesmre
- 5827eba9log: HM57 merged, HM59 startedmre
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
- aed12917Reference owned Style rules in genres and searchmre
- 14195720log: HM49B done, HM51 startedmre
- 78ee6b56Move remaining component styles into Style blocksmre
- 7f04de33log: HM49Bmre
- 00616cf3log: #49 batch merged, DP67 startedmre
- d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre