1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Monaco improvements (#15333) (#15345)

- 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
This commit is contained in:
silverwind
2021-04-08 13:24:23 +02:00
committed by GitHub
parent 38d184d518
commit 460093b952
6 changed files with 87 additions and 26 deletions

View File

@@ -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 {