mirror of https://github.com/go-gitea/gitea.git
Use light/dark theme based on system preference (#17051)
Add a new default theme `auto`, which will automatically switch between `gitea` (light) and `arc-green` (dark) themes depending on the user's operating system settings. Closes: #8183pull/17136/head^2
parent
868e937a53
commit
4e0cca3f7d
@ -0,0 +1,3 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@import "theme-arc-green.less";
|
||||
}
|
||||
Loading…
Reference in New Issue