Add theme type css class

Add a CSS class that maps each theme to `dark` or `light` type. 
Redundant `return` detected.