Monaco improvements (#15333)

- Create theme at runtime which follows the CSS variables of the site
- Disable a few opinionated Monaco defaults like minimap and word highlights
- Move styles to separate file

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
silverwindandzeripath authored and GitHub committed 2021-04-08 17:53:00 +08:00
1 parent 05b7e32829
commit 4eea819b24
6 files changed
+86 -24

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
@import "./features/animations.less";
@import "./features/heatmap.less";
@import "./features/imagediff.less";
@import "./features/codeeditor.less";
@import "./markdown/mermaid.less";
@import "./chroma/base.less";