Detect dark theme via css variable (#17800)
* detect dark theme via css variable * minor refactor, add documentation If your custom theme is considered a dark theme, set the global css variable `--is-dark-theme` to `true`. This allows gitea to adjust the Monaco code editor's theme accordingly.master
parent
e0f81b4ef4
commit
af901a4ca9
3 changed files with 6 additions and 7 deletions
Loading…
Reference in new issue