porting "dark.css" theme from master
porting new version frommaster
theme-switching tests