gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite92173c6e92173c6log: #51 live push proofmree92173c6/components/styles.hl

1.9 KB

  1. // styles.hl — the app's CSS, served as /__hl/app.css. It INHERITS THE WORLDAPI THEME (theme/theme.hl, copied verbatim from
  2. // layouts.worldapi.org 17e0f03 — never edited here; docs: layouts docs/using-the-theme.md) and adds only what belongs to no component. Every component carries its own Style {} block in its own file (nested rules named after
  3. // its View's elements); here stay the theme inherit, the accent and the few rules for plain page elements and shared classes.
  4. //
  5. // TOKENS: colours only through the named tokens (shared/tokens.hl = layouts' file, byte-equal); the app sets only its accent
  6. // (purple). Corners: radiusSmall (5px: buttons, pills, rows) / radiusLarge (10px: panels, boxes). Borderless — `node
  7. // theme/check-theme.mjs .` must report 0 problems (a deploy gate).
  8. // In a styles file a bare name is a TAG (camelCase → kebab), a quoted name is a selector written verbatim; a selector the theme
  9. // already writes may not be written again (hl:web refuses it) — so the theme's own elements (links, headings, fields, buttons,
  10. // foldables, `.muted`, `p.empty`, the 44 px taps) are NOT repeated here.
  11. // PHONE FIRST (mission 022): every rule outside a media block is the phone's (390 px): nothing makes the page wider than the screen,
  12. // every tap target is at least 44×44 px (the theme's layoutTap), every field 16 px, no text under 14 px (.875rem). The components'
  13. // `@media (min-width: 60rem)` blocks (the theme's breakpoint) only ADD the wide layout.
  14. inherit '../theme/theme.hl'
  15. import { var } from 'hl:web/css'
  16. import { purple, colorTextMuted } from '../shared/tokens.hl'
  17. colorAccent = var(purple) // the app's accent: the only token this app sets
  18. time {
  19. color = colorTextMuted
  20. fontSize = '.875rem'
  21. whiteSpace = 'nowrap'
  22. }
  23. form {
  24. // Keep the combinator as a quoted nested key.
  25. '> label' {
  26. display = 'grid'
  27. gap = '.3rem'
  28. margin = '0'
  29. }
  30. }
  31. // Keep the selector list; there is no bare list form.
  32. 'form > label > input,
  33. form > label > select' {
  34. width = '100%'
  35. boxSizing = 'border-box'
  36. }

Branches

Latest commits

  • e92173c6log: #51 live push proofmre
  • 72d87041log: Hermes push livemre
  • 1d69bf7dTickets conductor: park until Hermes pushmre
  • 80d8cfd1Tickets conductor: #51 livemre
  • 61641dd9Complete subscriptions deployment evidencemre
  • c980856cRecord successful subscriptions deployment and live checksmre
  • 4b4710adMerge branch 's51-subscriptions'mre
  • a731ef7eTickets conductor: S51 reviewed, deploy stepmre
  • b487b05aRecord verified direct push protocol handoffmre
  • 74e34cc3Verify encrypted push secrets and direct push retry semanticsmre
  • a1ac5cd0Push subscription notices directly to signed HyperConductor chat endpointsmre
  • d662ad27Remove superseded waker service for direct chat push protocolmre
  • c0ac927aTickets conductor: S51 redo for push protocolmre
  • ff2e8701Finalize subscription build verification and handoff reportmre
  • 07c6daeeTickets conductor: push allowlist URLsmre
  • 8517d14cTickets conductor: Hermes push endpointmre
  • aa4e192cTickets conductor: brief 027 push protocol changemre
  • 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
  • 8d8e2053Document subscription contract and exercise delta deliverymre
  • fd23726aAdd subscription delta API and signed wake bridgemre