Introduce ThemeConfig and ThemeMetadata classes.