mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #8194] Make currentColor in SVGs react to theme
#15035
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @damgem on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8194
Is your feature request related to a problem? Please describe.
SVG model icons that use
fill="currentColor"don't react to dark / light mode andcurrentColoris always rendered black. This makes the icon very hard to see in dark mode.Describe the solution you'd like
Render SVGs in a way that exposes
currentColorcorrectly.Describe alternatives you've considered
Manually change the SVG's
fillattribute to white, as most users on my instance use dark mode, but that just puts the problem for users with a preference for light mode instead.Additional context
I'm using the following SVG (source)
I've noticed 4 different locations where the styling issues occur:
empty chat


chat message


model selection


admin panel model list


admin panel model page


Used version: docker image
ghcr.io/open-webui/open-webui:9aa6abd2c800