gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit876b2064876b2064docs: workaround note for hybriel#130 (slot marker mid-line)mre876b2064/components/styles.hl

1.2 KB

  1. // components/styles.hl — THE SITE'S styles file, as every app writes it: inherit the theme, set the accent (and type colours).
  2. // The showcase keeps the theme's defaults (accent = blue-dark, type slots 1–6), so the switcher in the sidebar shows what
  3. // an app's own `colorAccent = var(…)` does. Below: only what the showcase pages need beyond the theme.
  4. inherit '../theme/theme.hl'
  5. import { colorTextMuted } from '../shared/tokens.hl'
  6. // the page roots (one custom element per page) are blocks
  7. 'home-page,
  8. elements-page,
  9. list-pages,
  10. search-page,
  11. show-month-view,
  12. show-date-picker,
  13. show-range-picker,
  14. show-pagination,
  15. show-md-editor,
  16. show-code-editor,
  17. show-file-upload,
  18. show-modal,
  19. tracker-demo,
  20. notes-demo,
  21. mail-demo' { display = 'block' }
  22. // a row of buttons or pills
  23. 'p.row' { display = 'flex' flexWrap = 'wrap' alignItems = 'center' gap = '.5rem' }
  24. // the overview lists (/components, /shells, /docs, search): title and one muted line, no frames
  25. 'ul.pages' { margin = '0' padding = '0' listStyle = 'none' }
  26. 'ul.pages li' { margin = '0' padding = '.6rem 0' }
  27. 'ul.pages a' { fontWeight = '600' }
  28. 'ul.pages span' { display = 'block' color = colorTextMuted }
  29. // the README link under a themed component
  30. '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