Cloning Google Font's Light-Dark Mode Toggle
Offered By: Kevin Powell via YouTube
Course Description
Overview
Learn how to clone Google Font's light/dark mode toggle button in this comprehensive 52-minute tutorial video. Explore CSS techniques for setting up the toggle, implementing custom properties, and creating dynamic theme changes. Master the art of adding and animating tooltips, manipulating icons, and enhancing user experience with focus-visible improvements. Follow along as the instructor guides you through each step, from initial setup to advanced animations, providing valuable insights and practical coding examples throughout the process.
Syllabus
- Introduction
- Getting everything ready
- Setting the stage with CSS
- Adding custom properties
- Changing the theme on click
- Changing the aria-label on click
- adding the tooltip
- Animating the tooltip
- Animating the icon
- Changing the icon on page load
- Adding the pulse animation
- Using focus-visible to improve the tooltip
Taught by
Kevin Powell
Related Courses
User Experience for the WebOpen2Study Intro to the Design of Everyday Things
Udacity UX-Design for Business
Fraunhofer IESE via Independent UX Design for Mobile Developers
Google via Udacity SAP's UX Strategy in a Nutshell by Sam Yen
SAP Learning