mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 17:08:07 +00:00
Add theme-color <meta> tag and dynamically change the theme-color when switching into / out of dark mode. It use the same colours as in the nav-bar component, but I don't think it's possible to access the Windi CSS colour definitions, so I had to hard core the hex values. The theme-colour <meta> tag needs to be present in the HTML, otherwise `querySelector` returns null.