resolve second argument for theme.define