made type kinds distinguishable per color and removed parent class attribute (not needed with js)