Bitwarden
Custom Bitwarden CSS
Organizr Dark Theme
🛠️ Installation¶
Setup¶
Due to Bitwarden's Content-Security-Policy
header, it is necessary to adjust this policy to include the domain(s) to load stylesheets from. Open bwdata/config.yml
and add the domain name(s) to the nginx_header_content_security_policy
property in the style-src
policy directive.
...
nginx_header_content_security_policy: "default-src 'self'; style-src 'self' 'unsafe-inline' [domainnamehere]; ..."
...
nginx_header_content_security_policy was trimmed
The nginx_header_content_security_policy
was trimmed for brevity. Adjust your own copy from Bitwarden or it might lead to unexpected results.
Where [domainnamehere]
should be replaced with theme-park.dev raw.githubusercontent.com
or your own custom domain. This will allow stylesheets sources to load from the specified domain(s).
Screenshots¶
Last update:
May 19, 2022