[development] Strip out theme functions into a .theme file