Here's how this works:

There is one stylesheet (baseStyle.css) that holds all the styles common to both themes. There are separate stylesheets for the dark (red background/blue switch) and light (blue background/red switch) themes. The toggle button switches between them. Simple, right?