Commit Graph
12 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 548a934008 Add syntax highlighting and light/dark themes to twui CodeBlock
- Highlight string children with refractor (Prism) when `language` is
  set, rendered as React token spans; add ini/bash/json/yaml/ts support
- Add `theme` prop (auto | light | dark); auto follows the `.dark` class.
  Palettes are `--twui-code-*` CSS variables (GitHub Light/Dark, all
  tokens WCAG AA) so custom themes need no component changes
- Fix layout: real padding, singleBlock copy button no longer covers
  the code, clipped rounded corners, wrapperProps.style honoured,
  long tokens wrap
- MDX helpers take `codeTheme` and no longer force a black background
- Highlight WireGuard config blocks as ini

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 06:44:43 +01:00
tben e50b0405b0 Fix security issues 2026-10-15 21:10:36 +01:00
tbenandClaude Opus 5.5 fe4b1b02d1 Remove unused dependencies and dead code, refresh AGENTS.md
- Drop unused email module and media text extraction path
- Remove 12 unused dependencies
- Remove unused imports in server.ts
- Add typecheck and test scripts
- Rewrite AGENTS.md to describe this project

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 21:09:27 +01:00
tben 0f940048d4 Update bunext and bun-sqlite versions 2026-10-15 20:44:16 +01:00
tben b6f7eb0c75 Allow wildcard rule access host public IP ports 2026-10-07 11:28:41 +01:00
tben 4f49d3f3f5 Remove crypto and replace with npm uuid package 2026-09-20 19:52:39 +01:00
tben bd1aa199d3 Update README.md 2026-09-20 18:38:34 +01:00
tben 7910a578e6 Add user settings page 2026-09-20 11:42:05 +01:00
tben 8ec44ee0a7 Updates 2026-09-20 07:27:29 +01:00
tben d5536b49d9 Updates 2026-09-20 04:14:32 +01:00
tben e0d105beb9 Major updates 2026-09-14 07:56:13 +01:00
tben 4d75af0418 First Commit 2026-09-12 13:56:36 +01:00