woodpecker/web
Patrick Schratz da4bd8b97d
Update theme on system color mode change (#3296)
Currently, when theme `auto` is set and the system theme changes, users
need to reload the site themselves.

This PR adds an even listener which listens for such changes and reloads
the theme automatically in the background.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2024-01-30 11:00:07 +01:00
..
public/favicons pre-commit fixes (#2669) 2023-10-31 09:14:09 +01:00
src Update theme on system color mode change (#3296) 2024-01-30 11:00:07 +01:00
.eslintignore Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
.eslintrc.js Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
.gitignore Unify date/time dependencies (#2891) 2023-12-04 12:46:24 +01:00
.prettierignore Do not run prettier with pre-commit (#3196) 2024-01-14 21:14:00 +01:00
components.d.ts Make Service Icons work as enum was wrong (#3148) 2024-01-09 07:30:43 +01:00
index.html Fix css loading order in head (#2785) 2023-11-09 15:13:11 +02:00
LICENSE Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
package.json chore(deps): update web npm deps non-major (#3273) 2024-01-25 07:25:15 +01:00
pnpm-lock.yaml chore(deps): lock file maintenance (#3274) 2024-01-25 07:46:14 +01:00
tsconfig.eslint.json Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
tsconfig.json Update web dependencies (#3234) 2024-01-20 18:27:36 +01:00
vite.config.ts Unify date/time dependencies (#2891) 2023-12-04 12:46:24 +01:00
web.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
windi.config.ts Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00