Adventures in Libcosmic: 1. Getting the dark mode status from the current theme:...
cthos 🐱 @cthos@mastodon.cthos.dev
Adventures in Libcosmic:
1. Getting the dark mode status from the current theme: Easy! Straightfoward.
2. Figuring out how best to include a custom icon: Am I supposed to load the svg via `include_bytes!` and use icon::from_svg_bytes? Unclear! Does it work? Yes. Unsure how they're swapping the fill on SVGs between light/dark mode. (cosmic-icons does seem to do just this for each of the `from_name` included icons?)