0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 18:04:04 -05:00
forgejo/web_src/less/themes
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
..
theme-arc-green.less Detect dark theme via css variable (#17800) 2021-11-25 15:14:48 +08:00
theme-auto.less Use light/dark theme based on system preference (#17051) 2021-09-27 15:47:44 +01:00