components
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
- 69954249Align all plugin sources with Hybriel day38bmre
- f740f666Re-vendor components to Hybriel set day38bmre
- 8176eb14Record CS23b deployment and live verificationmre
- 84e3ddaaRemove blank line before pagination Style closing bracemre
- a92298ddRecord exact CSS and same-date proof after specificity reviewmre
- c71a0abePreserve consumer theme specificity with nested tag rulesmre
- 64a2bc27Document CS23b style formatting proof and review statusmre
- a72b57cficons: nest Style rules in the language's formmre
- 927616e2pagination: nest Style rules in the language's formmre
- aab8ad29code-editor: nest Style rules in the language's formmre
- ba30727afile-upload: nest Style rules in the language's formmre
- 42fefa4emodal: nest Style rules in the language's formmre
- 6fd953e3range-picker: nest Style rules in the language's formmre
- f661951ddate-picker: nest Style rules in the language's formmre
- 363577e6media-player: nest Style rules in the language's formmre
- 0b3fd8c9comments: nest Style rules in the language's formmre
- 67e043c8plugins/web/README.md from hybriel cb9e480dmre
- 519b56e9styles.hl: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 29f63d01md-editor: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 869f49c7files-upload: Style in the language's form (nested like the View, one declaration per line, bare @media)mre