Gnuplot generates SVG images in Org Babel as shown below.
In the left solarized-dark theme, the SVG images exhibit a brown background that blends with the dark theme, resulting in very reduced visibility.
Conversely, in the right solarized-light theme, the SVG images display a pleasant light-blue background, offering excellent readability.
How can SVG images be displayed with a light-blue background in the dark theme, as it is in the light theme?
The issue of setting a light-colored background for SVG images in org-babel can be resolved using gnuplot’s own settings.
` set terminal svg background “#ffffff” `
You could look at how Tecosaur does their splash screen, which uses SVGs and adjusts them based on the theme.
https://tecosaur.github.io/emacs-config/config.html#fancy-splash-screen
https://www.reddit.com/r/emacs/comments/fzz4l6/my_fancy_splash_screen/
Or maybe check out how PDF-tools handles midnight mode