Transcript
00:00 We're going to implement dark mode in a way where we don't have to touch any of the classes in the markup, just add a little toggle like a dark class and everything works. This sounds pretty complicated but thanks to all the work we've done up front it's going to be incredibly easy. So you've seen that we can change the value of a CSS variable with an inline style but we don't
00:19 want to be doing this. What we want to do really is be able to add a class name of dark or anything else but we're going to go with dark and then everything inside this demo component here because it's scoped to the dark class is going to change to dark mode. So read the instructions
00:38 and you should be able to achieve it probably easier than you think.