logo isn't changeable anymore #254

Closed
opened 2025-10-09 16:19:10 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @celevra on GitHub.

Vaultwarden Support String

Hi,

in the new 2025.1.1 Webinterface the Logo is directly in the source code as svg and with that we can't change it anymore.
before that change, it was easy as:

      -v /docker/vaultwarden/icon-white.png:/web-vault/images/icon-white.png \
      -v /docker/vaultwarden/icon-white.png:/web-vault/images/icon-dark.png \
      -v /docker/vaultwarden/logo-dark@2x.png:/web-vault/images/logo-dark@2x.png \
      -v /docker/vaultwarden/logo-dark@2x.png:/web-vault/images/logo-white@2x.png \

please implement a setting to change the logo or go back to files.
Logos have something todo with trust. We want to see that we are on the right server, with help of our logos.
It has nothing todo with licenses and copyright texts in the footer.

regards

Vaultwarden Build Version

1.33.0

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

nginx

Host/Server Operating System

Linux

Operating System Version

ubuntu

Clients

Web Vault

Client Version

No response

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. Click on '...'
  5. Etc '...'

Expected Result

Logos should be changeable

Actual Result

logos not changeble because they are hardcoded

Logs


Screenshots or Videos

No response

Additional Context

No response

Originally created by @celevra on GitHub. ### Vaultwarden Support String Hi, in the new 2025.1.1 Webinterface the Logo is directly in the source code as svg and with that we can't change it anymore. before that change, it was easy as: ``` -v /docker/vaultwarden/icon-white.png:/web-vault/images/icon-white.png \ -v /docker/vaultwarden/icon-white.png:/web-vault/images/icon-dark.png \ -v /docker/vaultwarden/logo-dark@2x.png:/web-vault/images/logo-dark@2x.png \ -v /docker/vaultwarden/logo-dark@2x.png:/web-vault/images/logo-white@2x.png \ ``` please implement a setting to change the logo or go back to files. Logos have something todo with trust. We want to see that we are on the right server, with help of our logos. It has nothing todo with licenses and copyright texts in the footer. regards ### Vaultwarden Build Version 1.33.0 ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy nginx ### Host/Server Operating System Linux ### Operating System Version ubuntu ### Clients Web Vault ### Client Version _No response_ ### Steps To Reproduce 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. Click on '...' 5. Etc '...' ### Expected Result Logos should be changeable ### Actual Result logos not changeble because they are hardcoded ### Logs ```text ``` ### Screenshots or Videos _No response_ ### Additional Context _No response_
OVERLORD added the bug label 2025-10-09 16:19:10 +03:00
Author
Owner

@stefan0xC commented on GitHub:

Checkout https://github.com/dani-garcia/vaultwarden/wiki/Customize-Vaultwarden-CSS

It might need some changes though for the latest web-vault, but i think the icon change should work.

Changing app-login img.logo to app-root img.new-logo-themed changes the PNG logo, but that's only visible for a split second until it gets replaced by the embedded SVG. So that's not working anymore.

update: Oh, but the ones below seem to work, but crudely (by not embedding the SVG the fill colors won't be dependent on the theme...)

update 2: I've updated the selectors and made it so that only the top left logos are changed.

@stefan0xC commented on GitHub: > Checkout https://github.com/dani-garcia/vaultwarden/wiki/Customize-Vaultwarden-CSS > > It might need some changes though for the latest web-vault, but i think the icon change should work. Changing `app-login img.logo` to `app-root img.new-logo-themed` changes the PNG logo, but that's only visible for a split second until it gets replaced by the embedded SVG. <del>So that's not working anymore.</del> update: Oh, but the ones below seem to work, but crudely (by not embedding the SVG the fill colors won't be dependent on the theme...) update 2: I've updated the selectors and made it so that only the top left logos are changed.
Author
Owner

@stefan0xC commented on GitHub:

Well, that has been changed upstream, so this is not something we can easily revert ourselves.
If it's that important for you, you can still build the web-vault yourself to change the logo.

Or alternatively you can also write a script that replaces the SVGs when Vaultwardens starts. (This might be a bit tricky but should be possible, I think.)

@stefan0xC commented on GitHub: Well, that has been changed upstream, so this is not something we can easily revert ourselves. If it's that important for you, you can still build the web-vault yourself to change the logo. Or alternatively you can also write a script that replaces the SVGs when Vaultwardens starts. (This might be a bit tricky but should be possible, I think.)
Author
Owner

@BlackDex commented on GitHub:

Checkout https://github.com/dani-garcia/vaultwarden/wiki/Customize-Vaultwarden-CSS

It might need some changes though for the latest web-vault, but i think the icon change should work.

@BlackDex commented on GitHub: Checkout https://github.com/dani-garcia/vaultwarden/wiki/Customize-Vaultwarden-CSS It might need some changes though for the latest web-vault, but i think the icon change should work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#254