nexus/ui
Dotta 16ab8c8303 Dark theme for CodeMirror code blocks in MDXEditor
The code blocks users see in issue documents are rendered by CodeMirror
(via MDXEditor's codeMirrorPlugin), not by MarkdownBody. MDXEditor
bundles cm6-theme-basic-light which gives them a white background.

Added dark overrides for all CodeMirror elements:
- .cm-editor: dark background (#1e1e2e), light text (#cdd6f4)
- .cm-gutters: darker gutter with muted line numbers
- .cm-activeLine, .cm-selectionBackground: subtle dark highlights
- .cm-cursor: light cursor for visibility
- Language selector dropdown: dark-themed to match
- Reduced pre padding to 0 since CodeMirror handles its own spacing

Uses \!important to beat CodeMirror's programmatically-injected theme
styles (EditorView.theme generates high-specificity scoped selectors).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-15 14:39:09 -05:00
..
public Add worktree-specific favicon branding 2026-03-10 16:15:11 -05:00
src Dark theme for CodeMirror code blocks in MDXEditor 2026-03-15 14:39:09 -05:00
components.json Overhaul UI with shadcn components and new pages 2026-02-17 09:07:32 -06:00
index.html Add worktree UI branding 2026-03-13 11:12:43 -05:00
package.json feat(adapters): add Gemini CLI local adapter support 2026-03-10 16:46:04 +00:00
tsconfig.json Overhaul UI with shadcn components and new pages 2026-02-17 09:07:32 -06:00
vite.config.ts Adopt React Query and live updates across all UI pages 2026-02-17 12:24:48 -06:00
vitest.config.ts Fix inbox badge logic and landing view 2026-03-10 22:55:45 -05:00