Skip to content

Commit 1e3ccc9

Browse files
committed
fix(color generation): fixed color customization generation
1 parent 0cd8e9a commit 1e3ccc9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ts/themes/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,11 @@ const updateScopeColors = async (): Promise<void> => {
119119
'',
120120
) as unknown as SupportedThemes;
121121

122+
console.log(theme);
123+
122124
if (supportedThemes.includes(theme)) {
123-
scopeColors = require(`./${theme}`);
125+
scopeColors = await require(`./${theme}`);
126+
console.log(scopeColors);
124127
} else {
125128
const themeColors = await fetchThemeColors();
126129
scopeColors = fetchScopeColors(themeColors);

0 commit comments

Comments
 (0)