tracker
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-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
- mainmain branch
Latest commits
- 2b7fdd6cmission 056: signed-out header one row on phones ("Log in", nowrap), backfill skips adult titles' posters, gate checksmre
- 2c53d5efMerge branch 't16-person' (tracker#16 person pages) into main; filmography shows only public titles (054 adult flag), gate race fix (backfill start line)mre
- c171227emission 054: hide adult/unknown titles from the public lists and the search; in-app adult-flag backfill (TMDB details + poster per title, resumes), gate + real-data proofmre
- 139fafd8tracker#16: short bio (4 lines, click = all), real-data check script, README + STATUSmre
- 93be9476tracker#16: person pages /person/<slug> with the filmography fetched from TMDB on the first visit (step by step), gatemre
- 47a3cae6STATUS: mission 053 merge commit idsmre
- dcc5eecaMerge branch 't14-search'mre
- 03edc783Merge branch 't15-tvmaze'mre
- 71b46345tracker#15: numbering check by date or title, placeholder titles in other languages, docs + real-data proofmre
- 6bb2daf1tracker#13: homepage (tiles, intro, latest movies/shows), /shows, /movies/page/N, /my/movies; lists cached in memorymre
- b8bd1157tracker#14: README + STATUS (search, real-data numbers, gate, merge notes)mre
- 65c694a8tracker#14: search — header magnifier, /search/<text> (in-memory word-prefix index over titles + people), Fetch from web (TMDB search/multi, ours left out), Add = import via syncShow; gate +25 checks, real-data scriptmre
- 34f2c15btracker#15: TVmaze merge in the sync (gaps only: new episodes/seasons, empty titles/air dates; numbering check), fake TVmaze episodes + gatemre
- cbdc4ea7tracker#12: link icons TMDB/IMDb/TVDB/TVmaze; sync fills missing ids (TVmaze lookup); movies fetched via /movie/mre
- b105bcd8tracker#11: Hybriel master ff51cf46 (checks no longer vanish), mobile-first styles, carets, follow button, sign-in modal, inverted check, orange castmre
- 31b758aatracker#10: installable app (manifest, service worker, offline shell), own icon + faviconmre
- 2fa9d997tracker#9: TMDB sync (followed shows: seasons, episodes, posters), tools/sync-tmdb.hl + daily run 04:00 UTC, fake TMDB in gatemre
- 49e1f61edeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- 54070a4etracker#8: /my/unwatched + /my/schedule (301 from old), S01E01, title (year), 1 episode, watched-set lookup (unwatched 15s -> 1s)mre
- 3251488atracker#7: /my/shows (followed shows, newest follow first, poster, title, last watched SxxEyy); gate can take screenshots (TRACKER_GATE_SHOTS)mre