Wrap adaptV4Theme with createV5Theme to support extra vars
Signed-off-by: Ilya Savich <isavich@box.com>
This commit is contained in:
@@ -93,5 +93,5 @@ export function createUnifiedThemeFromV4(
|
||||
): UnifiedTheme {
|
||||
const v5Theme = adaptV4Theme(options as DeprecatedThemeOptions);
|
||||
const v4Theme = createTheme(options);
|
||||
return new UnifiedThemeHolder(v4Theme, v5Theme);
|
||||
return new UnifiedThemeHolder(v4Theme, createV5Theme(v5Theme));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user