No description
- Rust 49.8%
- NCL 31.9%
- HTML 15.3%
- JavaScript 2.3%
- Nickel 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| .governance | ||
| assets | ||
| capabilities | ||
| examples | ||
| icons | ||
| schemas | ||
| src | ||
| templates | ||
| tests/fixtures | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||