gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita3e74c8aa3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mrea3e74c8a/components/main.hl

584 B

  1. // components/main.hl — THE SITE'S SHELL: only the body. Every page brings its own header (components/site-header.hl, or a
  2. // demo app's AppHeader) and its own shell (theme/shell/*), so the header knows the page it marks in the main menu.
  3. // The one script: the accent the switcher picked (components/accent-switcher.hl) is put back before the first paint.
  4. slot = null
  5. View {
  6. body {
  7. script { "try { const a = window.localStorage.getItem('layouts-accent'); if (a) { document.documentElement.style.setProperty('--color-accent', 'var(--' + a + ')') } } catch (e) {}" }
  8. slot
  9. }
  10. }

Branches

Latest commits

  • a3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mre
  • 80ce6ba9report 001 (mission 075)mre
  • 5c6e338flayouts.worldapi.org in Hybriel: WorldAPI theme (tokens, borderless elements, themed components.hybriel components), shells (header, main/user menu, sidebar overlay, content-first, list-first, three-pane), showcase, check-theme helper; gate 73/0 (mission 075)mre