Repository navigation
fix: unify editor and output syntax highlighting - #486
Merged
Merged
Conversation
Refresh the light and dark surfaces with logo-derived cyan accents and a compact header. Add a collapsible configuration sidebar with mobile focus management, inline lint rules, and Define options under Transformer. Use compact checkboxes, smaller fields, and quieter secondary actions to keep the configuration panel dense and readable.
Use shared Shiki grammars and palettes for Monaco, printed output, and AST values. Keep separate registries for Monaco and HTML, flatten translucent foregrounds, and emit both HTML palettes for reactive theme changes. Preserve diagnostics, model changes, and hover cleanup while the editor waits for highlighting. Fall back to the built-in editor theme if loading fails.
Contributor
…hlighting-split # Conflicts: # src/index.css
Dunqing
enabled auto-merge (squash)
November 16, 2026 03:06
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source and printed output currently color identifiers such as useEffect differently. Share Shiki grammars and Vitesse-based palettes across Monaco, printed output, and AST values. Preserve diagnostics, filename changes, and hover cleanup during lazy initialization; fall back to Monaco's built-in theme if highlighting fails to load.
Depends on #485.
Validation: formatting, TypeScript, lint, linter-rule freshness, and production build passed. Browser comparisons matched 87 comparable characters in both themes with zero text or color mismatches, and live edits updated the output.
Existing Monaco service-registration errors remain outside this change.