resolve theme.