Yess CSS variables ftw. It's time to slowly get rid of scss. Other then nesting and some mixins it doesn't add a bunch of value now since css gets more of these features out of the box.
Some neat things you can do with css variables is easily control font sizes, spacings, colors on different viewports/pages. You could even do dark mode really easily by changing some css variables.
Dark mode is a huge beneficiary of CSS variable! let me add your input to my code notes! thanks for sharing 👏
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.