nexus/ui/src
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
..
adapters Raise default max turns to 300 2026-03-12 09:34:05 -05:00
api Merge public-gh/master into feature/plugin-runtime-instance-cleanup 2026-03-14 10:46:19 -05:00
components Fix code block styles with robust prose overrides 2026-03-15 14:30:53 -05:00
context fix(ui): refresh issue documents from live events 2026-03-14 06:52:44 -05:00
fixtures Add a run transcript UX fixture lab 2026-03-11 10:47:22 -05:00
hooks Merge public-gh/master into paperclip-issue-documents 2026-03-13 21:47:06 -05:00
lib Merge public-gh/master into feature/plugin-runtime-instance-cleanup 2026-03-14 10:46:19 -05:00
pages Fix org chart canvas height to fit viewport without scrolling 2026-03-15 14:30:53 -05:00
plugins Enhance plugin loading and toolbar integration 2026-03-14 15:27:45 -07:00
App.tsx Expand kitchen sink plugin demos 2026-03-14 09:26:45 -05:00
index.css Dark theme for CodeMirror code blocks in MDXEditor 2026-03-15 14:39:09 -05:00
main.tsx Add kitchen sink plugin example 2026-03-13 23:03:51 -05:00