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%
Find a file
Matthew Weber e2b259651a Desktop: Match Ultimus, a theme that follows the desktop shell's palette
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>
2026-11-17 13:19:30 -05:00
.claude Build the web UI for the journal, goals and habit statistics 2026-09-08 02:30:44 -04:00
android cal 2 2026-11-11 22:12:33 -05:00
docs no env no script 2026-08-31 02:26:47 -04:00
packages Desktop: Match Ultimus, a theme that follows the desktop shell's palette 2026-11-17 13:19:30 -05:00
redesign server fix 2026-10-25 02:43:42 -04:00
scripts habits integration 2026-08-31 20:49:34 -04:00
.dockerignore subtasks 2026-04-09 19:00:21 -04:00
.eslintrc.json reeview changes and bug fix 2026-08-30 20:54:05 -04:00
.gitignore Ignore copies of live data pulled off a server 2026-09-08 12:55:51 -04:00
ANDROID_PLAN.md fixes for timezone updating 2026-09-03 02:35:09 -04:00
CALENDAR_PLAN.md cal 2 2026-11-11 22:12:33 -05:00
docker-compose.secrets.yml no env no script 2026-08-31 02:26:47 -04:00
docker-compose.yml no env no script 2026-08-31 02:26:47 -04:00
docker-entrypoint.sh no env no script 2026-08-31 02:26:47 -04:00
Dockerfile no env no script 2026-08-31 02:26:47 -04:00
flake.lock nix flake 2026-09-02 20:31:48 -04:00
flake.nix nix flake 2026-09-02 20:31:48 -04:00
openapi.yaml cal 2 2026-11-11 22:12:33 -05:00
package-lock.json cal 2 2026-11-11 22:12:33 -05:00
package.json Desktop: Match Ultimus, a theme that follows the desktop shell's palette 2026-11-17 13:19:30 -05:00
PLAN.md better natural language 2026-10-11 02:14:16 -04:00
repro-dup.mjs reeview changes and bug fix 2026-08-30 20:54:05 -04:00
shell.nix first commit 2026-04-08 21:26:04 -04:00
tsconfig.base.json first commit 2026-04-08 21:26:04 -04:00