tickets
All repositories: gitoria
2.5 KB
// tokens.hl — THE WorldAPI design tokens (ticket antcolony#3, mission 021). Hand-written; this is// the one source. Every Hybriel app carries a verbatim copy as `shared/tokens.hl` (vendored like// plugins/; source: loreana /media/STORAGE/projects/WorldAPI/worldapi-tokens/tokens.hl — edit THERE, then// `cp` it into each app, see that folder's README.md).//// A token is a css variable declared as a VALUE (hl:web/css `var()`): the stylesheet walker names// it after its member (`blueDark` → `--blue-dark`), writes it into the sheet's one `:root`, and turns// every use into `var(--blue-dark)`. `static` makes it importable. An app's styles.hl imports the// tokens it uses and writes them as members://// import { var } from 'hl:web/css'// import { purple, colorText, colorBackground } from './shared/tokens.hl'// colorAccent = var(purple) // the app's accent — the ONLY token an app sets// body { color = colorText background = colorBackground }//// (hl:web does this itself since hybriel#39; the local patch of mission 021 is gone)import { var } from 'hl:web/css'// ---- the palette (VS Code Dark+) ----------------------------------------------------------static dark = var('rgb(25, 30, 35)')static darker = var('rgb(15, 20, 25)')static light = var('rgb(195, 200, 205)')static lighter = var('rgb(245, 250, 255)')static blueDark = var('#569bd4')static greenDark = var('#4ec9b0')static yellow = var('#dcdcaa')static orange = var('#ce9178')static red = var('#f44747')static purple = var('#c586c0')static blueLight = var('#9cdcfe')static greenLight = var('#b5cea8')// ---- semantic tokens: components and rules use only these -----------------------------------static colorBackground = var(dark)static colorBackgroundSunken = var(darker)static colorSurface = var('rgb(35, 40, 45)')static colorBorder = var('rgb(70, 75, 80)')static colorText = var(light)static colorTextStrong = var(lighter)static colorTextMuted = var('rgb(145, 150, 155)')static colorAction = var(blueDark)static colorSuccess = var(greenDark)static colorWarning = var(yellow)static colorDanger = var(red)static colorSpecial = var(purple)// the accent: per app (tickets purple, ident orange, tracker greenDark, gitoria blueDark, notes// yellow, calendar blueLight, antcolony greenLight). An app declares its own `colorAccent =// var(<palette token>)` in styles.hl; hl:web writes it after this default, so the app's wins.static colorAccent = var(colorAction)// text ON the accent (buttons, badges, selected filters)static colorAccentText = var(darker)
Branches
Latest commits
- 31cabfccmission 021: E2E script, report, LOG, STATUSmre
- 6aea8683editor look: .empty rule only for p.empty, files off where tickets has no upload, state note one line, events test scrolls the editor into view; synced md-editor (components d702d76+6f27ad3); gate 377/0, events 52/0mre
- dce6ffa6Merge branch 'w28-deflake'mre
- 536092a1tickets (mission 019): de-flake the m016 comment clicks (B: unliked) — calmClick waits until the button stops moving; test only, no app changemre
- 9c5fd42amission 020: attachments E2E proof (lisbeth Chrome, real-data copy), reportmre
- 1206404fREADME attachments, report 018, LOG/STATUSmre
- 3d9e7f3ctests: m017 gate fixes (list count, waits before delete clicks); gate 373/0mre
- dd41d5bcre-sync components 15be2ac; mission 018mre
- 420ad1bbtickets (mission 017 WIP, tickets#27): comment attachments — lib/attachments.hl (storage/attachments, limits, type by content, members-only GET /api/attachments/:id, delete drops, edit keeps), multipart POST …/comments (lib/multipart.hl), Respond block in FilesUpload (blocks verbatim from components w27c 1f8d79d), gate m017 checks written (not yet run); report, LOG, STATUSmre
- a7a1380dmission brief 017mre
- f83d9c0dtickets (mission 016): report reports/016-comments-block.md, LOG, STATUS, README gate countmre
- eef80f55tickets (mission 016): comments through the shared Comments block (layouts#2) — edit (author, earlier versions kept), delete (author, asks; leaves one line in the history), like (members, toggle) on the server (lib/comments.hl, append-only tables), faces + API …/comments/:comment/{edit,delete,like}, push commentChanged; every run of comments is a block in place in the history; Markdown fields on the Hybriel MdEditor (shared/md-editor.js retired: it took over the block's <md-editor>); blocks copied verbatim from components.hybriel 9db927d (tools/sync-components.sh); gates browser 351/0 (old 326/0), events 52/0 (old 52/0)mre
- eb7aeeb9mission brief 016mre
- e4c34759paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
- 26efb23freport w6-events (events test)mre
- c6bfab04mission 015: re-vendor Hybriel 0f396652 (static build), reportmre
- b7ec5981mission brief 015mre
- 5dc68731docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
- 8a460b16mission 014: Apollo's 'stream opened right after the start gets no live events' is not a tickets bug — events.mjs checks early streamsmre
- 6309ca81mission brief 014mre