tpmjs/packages/ui/src/CodeBlock
Ajax Davis 1efb9b0003 fix: auto-detect dark mode in CodeBlock component
- Add useDarkMode hook that watches for .dark class on html element
- Remove hardcoded #24292e color override that broke dark mode syntax highlighting
- CodeBlock now auto-detects theme and uses vscDarkPlus style in dark mode
- Theme prop is now optional, only override when explicitly needed
2026-01-07 18:51:00 +10:00
..
CodeBlock.test.tsx fix(ui): correct CodeBlock test selectors to match component structure 2025-12-06 02:55:57 +10:00
CodeBlock.tsx fix: auto-detect dark mode in CodeBlock component 2026-01-07 18:51:00 +10:00
tokens.ts fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
types.ts fix: auto-detect dark mode in CodeBlock component 2026-01-07 18:51:00 +10:00
variants.ts fix(tool-search): add published date, center copy button 2025-12-11 11:37:42 +10:00