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:
silverwind 2021-04-08 11:53:00 +02:00 committed by GitHub
parent 05b7e32829
commit 4eea819b24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 86 additions and 24 deletions

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";