gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9a48cfca9a48cfcaMerge branch 'vendor-theme' into mainJukebox9a48cfca/plugins/web/cssvar.hl

930 B

  1. // ONE CSS CUSTOM PROPERTY, declared as a value: `bg = var('#FFF')` in a styles file
  2. // (`import { var } from 'hl:web/css'`). The sheet walker (css.hl) gives it its NAME
  3. // from the member it is bound to, writes `--bg: #FFF` into the sheet's one `:root`,
  4. // and every use — `color = bg`, or inside a composed value `'1px solid ' + rule` —
  5. // becomes `var(--bg)`. Inside a composed value the name is not known yet (the
  6. // string is built when the styles file is constructed, before the walker names
  7. // anything), so the text carries a PLACEHOLDER by id that the walker replaces.
  8. value = null // the declared value, as written
  9. dark = null // the value under prefers-color-scheme: dark, or null
  10. Number id = 0 // minted at construction; the walker maps id → name
  11. name = null // set by the walker from the member that holds it
  12. __toString() {
  13. return 'var(--hlv' + id + ')'
  14. }

Branches

Latest commits

  • 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
  • 170d3735Merge branch 'code-order-2' into mainJukebox
  • 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
  • 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
  • 0ba85799Merge branch 'reset-classes' into mainJukebox
  • 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
  • 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
  • dcca21abjukebox#8 Move copies and queue logic into their topicsmre
  • 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
  • bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
  • 10f8a8c8Merge branch 'code-order' into mainJukebox
  • 204fc828Merge branch 'day72' into mainJukebox
  • 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
  • 33072bb5|||PR Record day72 gates and Chrome proofmre
  • 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre
  • 6422a020Sync media-player at 51c3818mre
  • b582ba1cVendor complete Hybriel day72 plugin setmre
  • 02dccbc9Merge branch 'records-1119' into mainJukebox
  • a39e1c23|||PR Records: missions 013-015, reconnect fix livemre
  • fc7db075Merge branch 'reconnect-retry' into mainJukebox