0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 19:27:53 +01:00
gitea/web_src
ThetaDev af901a4ca9
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.
2021-11-25 15:14:48 +08:00
..
fomantic
js Detect dark theme via css variable (#17800) 2021-11-25 15:14:48 +08:00
less Detect dark theme via css variable (#17800) 2021-11-25 15:14:48 +08:00
svg Fix GitBucket icon (#17644) 2021-11-16 12:24:22 +08:00