An online task management tool written in TS and React
- TypeScript 53%
- Kotlin 45.7%
- Shell 0.3%
- Nix 0.3%
- JavaScript 0.2%
- Other 0.4%
Settings -> Appearance on the desktop app gets a "Match Ultimus" switch. When on, Checkbox takes its colours and light/dark from ultimus's live palette and recolours within a second whenever that palette changes (theme applied, wallpaper regenerated, Hyprland <-> mattwm). - desktop/src/ultimus.ts: ported from the Notes desktop app. Reads [theme.colors] (twelve roles) from the config.toml of the ultimus that is actually running, found through /proc so the mattwm session's ULTIMUS_CONFIG_DIR is honoured, watches its directory so saves by rename are seen, and pushes only real palette changes. Started on the first request, so nothing scans or watches unless the switch is on. Parser lives here, not in shared, because the Nix build sees only packages/desktop. Tests run on node:test (npm test -w @checkbox/desktop, now in npm test). - client/src/lib/ultimus.ts: maps the roles onto the surface and primary ramps the Tailwind theme is built on, pinning each role to the shade the UI uses it for; polarity from the background; accent shades read as text pushed to 4.5:1. The last palette is cached so a reload opens in it. - New tokens: on-primary (text on accent fills, white by default) replaces text-white on primary backgrounds, so pale accents get dark text the way ultimus draws its own buttons; white is now a variable so a light palette's panels sit in its family. - The switch is stored on this machine only; it is not in the synced preferences, since the browser and the phone have no ultimus. Checked on the Nix-built app on Xvfb over CDP against a scratch server: picked up the live mattwm Gruvbox palette via /proc with ULTIMUS_CONFIG_DIR unset; recoloured live dark -> light -> dark on a renamed-over scratch config; reopened in the cached palette after reload; switching off restored the stock theme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| android | ||
| docs | ||
| packages | ||
| redesign | ||
| scripts | ||
| .dockerignore | ||
| .eslintrc.json | ||
| .gitignore | ||
| ANDROID_PLAN.md | ||
| CALENDAR_PLAN.md | ||
| docker-compose.secrets.yml | ||
| docker-compose.yml | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| openapi.yaml | ||
| package-lock.json | ||
| package.json | ||
| PLAN.md | ||
| repro-dup.mjs | ||
| shell.nix | ||
| tsconfig.base.json | ||