While building a dark theme for my React App, I've found myself escaping the nesting a lot in order to make styles for the dark theme . Then, this mixin was born. Show me the code! @mixin atDarkTheme { $selector: #{&}; @at-root body.dark-the...

Markdown supported · ⌘↵ to post
Lucas Terracino
Favourite Jome
Software Engineer @bug0
Thanks for sharing, I've got to try it out