theme refinement