Commit 42c223a
feat(playground): add syntax highlighting and improve console output
- Add CodeMirror editor with FratmScript syntax highlighting
- Custom color theme matching COSS UI (pink keywords, green strings, etc.)
- Line numbers, active line highlight, Ctrl+Enter to run
- Improved console output with Chrome DevTools-like styling
- Icons for log/warn/error entries
- Color-coded values (strings green, numbers amber, etc.)
- Better error display with suggestions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c268375 commit 42c223a
File tree
4 files changed
+388
-96
lines changed- packages/playground
- src/components
4 files changed
+388
-96
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments