refactor theme with pre-process functions