No description
  • Rust 49.8%
  • NCL 31.9%
  • HTML 15.3%
  • JavaScript 2.3%
  • Nickel 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
claude-bot d45d02536c
feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline
build.rs runs pnpm in assets/css/ — install --frozen-lockfile --prefer-offline, then
the unocss CLI over templates/ — into OUT_DIR; src/web.rs embeds the result and
serves it at /assets/desk.css. assets/css/ takes opus-editorial's presets and
lockfile: presetUno with `dark:` on [data-theme], presetDaisy with the dark and light
themes, presetIcons for heroicons; shortcuts style the diff's kinds and a refusal.
Without pnpm the build stops and says so.

assets/desk.js, served at /assets/desk.js, sets <html data-theme> before the page
paints — the saved choice, else the system's — and switches it from #theme-toggle.
The templates use daisyUI's navbar, menus, cards, alerts, tables, inputs and buttons,
with no <style>, no style=, no inline script, no on…= and no hx-on; htmx is told not
to inject its indicator style. The CSP desk sends, and Tauri's, is now
`default-src 'self'; script-src 'self'; style-src 'self'`.

Work Order wo-desk-style, signed, with its signed receipt.

Proofs: clippy -D warnings; 37 tests — every class a template writes has a rule in
the generated stylesheet (which found `refused` unstyled), the stylesheet and script
served from the binary, the CSP on every page, the layout using both; scheme_probe
on macOS under the stricter CSP; witness-post accepted the five contracts and each
refutation bit.
2026-09-25 02:46:34 +01:00
.governance feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
assets feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
capabilities feat(shell): Tauri over the desk scheme, axum in process, whoami from the CLI 2026-09-25 01:32:26 +01:00
examples feat(reads): nine views over the signatio reads, tested on the CLI's real output 2026-09-25 01:53:45 +01:00
icons feat(shell): Tauri over the desk scheme, axum in process, whoami from the CLI 2026-09-25 01:32:26 +01:00
schemas feat(config): environment, desk.ncl and the saved values, in that order; nickel for the CLI 2026-09-25 02:34:52 +01:00
src feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
templates feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
tests/fixtures feat(admin): policies by preview and apply, an Assign signed outside desk 2026-09-25 02:19:27 +01:00
.gitignore feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
build.rs feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00
Cargo.lock feat(shell): Tauri over the desk scheme, axum in process, whoami from the CLI 2026-09-25 01:32:26 +01:00
Cargo.toml feat(admin): policies by preview and apply, an Assign signed outside desk 2026-09-25 02:19:27 +01:00
tauri.conf.json feat(style): UnoCSS and daisyUI built into desk, a theme toggle, a CSP with nothing inline 2026-09-25 02:46:34 +01:00