In today's GUI Challenge, @AdamArgyleInk shares thinking on a way to build an adaptive favicon with SVG. SVG not only delivers an infinitely scalable icon, it also allows inlining styles that can hook into CSS media queries like the light and dark preference queries.
Chapters:
- 0:00 - Introduction
- 0:36 - Overview
- 1:59 - Light and Dark
- 2:48 - Loading
- 3:22 - Markup
- 4:45 - SVG preparation
- 5:31 - Outro
Resources:
- Read along → https://goo.gle/3uASh1s
- Try a demo → https://goo.gle/3GAzzt4
- Get the source → https://goo.gle/3ov8x08
Watch more GUI Challenges → https://goo.gle/GUIchallenges
Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs