gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitff2e8701ff2e8701Finalize subscription build verification and handoff reportmreff2e8701/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

  • ff2e8701Finalize subscription build verification and handoff reportmre
  • 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
  • 8d8e2053Document subscription contract and exercise delta deliverymre
  • fd23726aAdd subscription delta API and signed wake bridgemre
  • c5d28fb5Tickets conductor: S51 startedmre
  • fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
  • e448e656Tickets conductor: STATUS #51mre
  • 1c10857bTickets conductor: P51 eval, brief 027mre
  • e725969dTickets conductor: #51 directionmre
  • 1b5c63ddTickets conductor: P51 startedmre
  • 9f13fbdaTickets conductor: brief 026 prioritymre
  • acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
  • 9233a734Tickets conductor: brief 026 completemre
  • 5da589fdTickets conductor: brief 026 + Gitoria's answermre
  • a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
  • 6f6e5797Tickets conductor: STATUS wordingmre
  • 957de51fTickets conductor: T36 live, #36 review, #50 donemre
  • bc2fde32Merge branch 'main' into t36-stylemre
  • b7ca093atests: wait for the new row and normalize editor marker spacesmre
  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre