This is a solution to the Social media dashboard with theme switcher challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Toggle color theme to their preference
- Semantic HTML5 markup
- CSS custom properties
- SASS
- CSS Flexbox
- gulp.js
- Javascript
- Mobile-first workflow
I learned how to make an accessibility-friendly toggle button and how to use custom CSS variables to enable dark mode functionality.
- Accessible Option for Toggle Switch - That solution allowed me to see how I can build an accessible toggle button.
- Coder Coder - I learned gulp.js configurations from this source.
- How to create a dark theme system in 5 minutes or less with vanilla JS. - I learnt how to modify the state of the page theme using CSS custom variables.