convert type to sass
allow bg-*classes to set the panel background-color
simplify classes