]> source.dussan.org Git - gitea.git/commit
Monaco improvements (#15333)
authorsilverwind <me@silverwind.io>
Thu, 8 Apr 2021 09:53:00 +0000 (11:53 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 09:53:00 +0000 (17:53 +0800)
commit4eea819b2496b849ca8e1e7a6e11fef45e141225
tree07d8d6e1be0b4b68a3a5b394f2d468acb0e2af7d
parent05b7e328297142c7ddb888339901524708472a3a
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>
web_src/js/features/codeeditor.js
web_src/less/_base.less
web_src/less/_editor.less
web_src/less/features/codeeditor.less [new file with mode: 0644]
web_src/less/index.less
web_src/less/themes/theme-arc-green.less