mirror of
https://github.com/openwrt/luci.git
synced 2025-07-04 08:33:11 +00:00
Instead of enumerating each SVG graph that the dark mode is applicable to, apply --background-color-high to each SVG element that is a child of <div style="…"> and --text-color-highest to each LINE inside such SVG. This allows dark mode to work in all SVG widgets by default, in any current or future LuCI component. Signed-off-by: Marko Mäkelä <marko.makela@iki.fi>