layouts
All repositories: gitoria
584 B
// components/main.hl — THE SITE'S SHELL: only the body. Every page brings its own header (components/site-header.hl, or a// demo app's AppHeader) and its own shell (theme/shell/*), so the header knows the page it marks in the main menu.// The one script: the accent the switcher picked (components/accent-switcher.hl) is put back before the first paint.slot = nullView {body {script { "try { const a = window.localStorage.getItem('layouts-accent'); if (a) { document.documentElement.style.setProperty('--color-accent', 'var(--' + a + ')') } } catch (e) {}" }slot}}
Branches
Latest commits
- 85b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre
- 0f325d3blayouts mission 002 2/3: code rules — styles.hl -> components/styles.hl, the one never-reassigned let dropped; gate 73/0, same outputmre
- 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