mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-11-13 02:29:20 +08:00
* 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.
1.9 KiB
1.9 KiB