ThetaDev 99c9b37ad1 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
S
Description
No description provided
Apache-2.0
14 MiB
1 Stars 1 Watchers 0 Forks
Languages
TypeScript 42%
MDX 31.2%
Astro 7.9%
JavaScript 6.4%
Shell 6.3%
Other 6.2%