/* Target SVGs specifically when Furo is in dark mode */
[data-theme="dark"] img[src$=".svg"] {
    /* This tells the browser: "Inside this image, act as if the system is in dark mode" */
    color-scheme: dark !important;
}

/* Target SVGs specifically when Furo is in light mode */
[data-theme="light"] img[src$=".svg"] {
    color-scheme: light !important;
}

/* Optional: Ensure the background of the image container doesn't clash */
.nbinput.docutils.container .highlight,
img[src$=".svg"] {
    background-color: transparent !important;
}
