EmbeddingGemma 2: an open, lightweight multimodal embedding model
deepmind.google·6d ago

TL;DR
Lea Verou proposes a smart dual-state toggle for dark mode on websites, simplifying user choices to just light and dark while accommodating system preferences. This approach reduces complexity for users without sacrificing functionality.
✦ Why It Matters
Implement a smart dual-state toggle to enhance user experience on your website today.
Key Takeaways
How It Works
The smart toggle presents only two options: light and dark. If a user selects an option that differs from the system's current setting, it locks that choice in, while matching options continue to follow the system's preferences.
This design abstracts away the complexity of a tri-state toggle, making the interface more user-friendly.
Related