Open stephaniehobson opened 5 days ago
Reminder that we have the picture()
helper that can serve light/dark mode icon images without the need for inlining and using custom CSS styling.
Avoiding in-line images where possible circumvents CSP issues, and also offers improved caching and lazy loading provided by the browser.
Different approaches have been taken with the icons for different components and we should standardize. This should mean moving away from changing icon colours in the CSS and towards including SVGs included on the page with the fill or stroke set to match currentColor.
Things to consider:
Goals: