mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
d0da1a104e
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. |
||
---|---|---|
.. | ||
public/favicons | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
index.html | ||
LICENSE | ||
package.json | ||
tsconfig.eslint.json | ||
tsconfig.json | ||
vite.config.ts | ||
web.go | ||
windi.config.ts | ||
yarn.lock |