ThemeImage
A drawing on a transparent ground made twice, once for each theme, such as a diagram: it follows the theme setting, not only the system's, prints the light one and has no outline.
<ThemeImage light="/demos/route.light.svg" dark="/demos/route.dark.svg" alt="Route of a request: app, Kaeso, provider" width={364} height={49} />import { ThemeImage } from "@logicplanes/kaeso-ui";Props
altstringWhat the image shows, read by screen readers and shown when it can't load.
aria-describedbystringThe id of a longer description, such as a diagram's text alternative.
darkstringThe image's address for the dark theme.
heightnumberThe image's own height in pixels. Pass it with
widthso the page keeps the image's place before it loads; without both, the content below moves when it arrives.lightstringThe image's address for the light theme and for print.
widthnumberThe image's own width in pixels; the image shrinks to its container, never grows past this.