Core rewritten to SASS