diff options
author | silverwind <me@silverwind.io> | 2021-04-08 11:53:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 17:53:00 +0800 |
commit | 4eea819b2496b849ca8e1e7a6e11fef45e141225 (patch) | |
tree | 07d8d6e1be0b4b68a3a5b394f2d468acb0e2af7d /web_src/less/themes/theme-arc-green.less | |
parent | 05b7e328297142c7ddb888339901524708472a3a (diff) | |
download | gitea-4eea819b2496b849ca8e1e7a6e11fef45e141225.tar.gz gitea-4eea819b2496b849ca8e1e7a6e11fef45e141225.zip |
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>
Diffstat (limited to 'web_src/less/themes/theme-arc-green.less')
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index 2f9bd4a4b1..c7f15e1d1e 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -106,6 +106,7 @@ --color-text-focus: #fff; --color-expand-button: #3c404d; --color-placeholder-text: #6a737d; + --color-editor-line-highlight: var(--color-primary-light-5); } .ui.horizontal.segments > .segment { |