layouts
All repositories: gitoria
1.2 KB
// components/styles.hl — THE SITE'S styles file, as every app writes it: inherit the theme, set the accent (and type colours).// The showcase keeps the theme's defaults (accent = blue-dark, type slots 1–6), so the switcher in the sidebar shows what// an app's own `colorAccent = var(…)` does. Below: only what the showcase pages need beyond the theme.inherit '../theme/theme.hl'import { colorTextMuted } from '../shared/tokens.hl'// the page roots (one custom element per page) are blocks'home-page,elements-page,list-pages,search-page,show-month-view,show-date-picker,show-range-picker,show-pagination,show-md-editor,show-code-editor,show-file-upload,show-modal,tracker-demo,notes-demo,mail-demo' { display = 'block' }// a row of buttons or pills'p.row' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '.5rem' }// the overview lists (/components, /shells, /docs, search): title and one muted line, no frames'ul.pages' { margin = '0' padding = '0' listStyle = 'none' }'ul.pages li' { margin = '0' padding = '.6rem 0' }'ul.pages a' { fontWeight = '600' }'ul.pages span' { display = 'block' color = colorTextMuted }// the README link under a themed component'p.readme' { marginTop = '1.5rem' }
Branches
Latest commits
- 876b2064docs: workaround note for hybriel#130 (slot marker mid-line)mre
- 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