tickets
All repositories: gitoria
1.9 KB
// styles.hl — the app's CSS, served as /__hl/app.css. It INHERITS THE WORLDAPI THEME (theme/theme.hl, copied verbatim from// 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// its View's elements); here stay the theme inherit, the accent and the few rules for plain page elements and shared classes.//// TOKENS: colours only through the named tokens (shared/tokens.hl = layouts' file, byte-equal); the app sets only its accent// (purple). Corners: radiusSmall (5px: buttons, pills, rows) / radiusLarge (10px: panels, boxes). Borderless — `node// theme/check-theme.mjs .` must report 0 problems (a deploy gate).// In a styles file a bare name is a TAG (camelCase → kebab), a quoted name is a selector written verbatim; a selector the theme// already writes may not be written again (hl:web refuses it) — so the theme's own elements (links, headings, fields, buttons,// foldables, `.muted`, `p.empty`, the 44 px taps) are NOT repeated here.// PHONE FIRST (mission 022): every rule outside a media block is the phone's (390 px): nothing makes the page wider than the screen,// 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'// `@media (min-width: 60rem)` blocks (the theme's breakpoint) only ADD the wide layout.inherit '../theme/theme.hl'import { var } from 'hl:web/css'import { purple, colorTextMuted } from '../shared/tokens.hl'colorAccent = var(purple) // the app's accent: the only token this app setstime {color = colorTextMutedfontSize = '.875rem'whiteSpace = 'nowrap'}form {// Keep the combinator as a quoted nested key.'> label' {display = 'grid'gap = '.3rem'margin = '0'}}// Keep the selector list; there is no bare list form.'form > label > input,form > label > select' {width = '100%'boxSizing = 'border-box'}
Branches
Latest commits
- d876d0b2|||PR README: changes land as PRsmre
- 3b858c91Log backup hard-link fixmre
- 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
- e93711d9Log E30 livemre
- 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
- 30970796Log E30 deploy GOmre
- 7c8e6d83Limit edited state note fix to Markdown renderingmre
- 910536d0Log E30 reviewmre
- 36984386Preserve state transitions when their notes are editedmre
- d75cb946Log E30 startmre
- 0bf3fefaMission 030: edited state note labelmre
- 691565c6Log neutral-ticket rule checkmre
- bc3bdecerecords: day38b live, #94 purgedmre
- f6c5aa0dMerge main (records)mre
- e23d42acconnect gate: wait for hydration before clicking Disconnectmre
- a5d45d00records: D38 cause, GOmre
- 19eeb938records: D38 gates, two day38b failuresmre
- f8e42a85Re-vendor tickets to Hybriel set day38b (1e554d7)mre
- 51645016Merge purge-94 (#94, identity rule)mre
- 94d6ca2arecords: D38 startedmre