We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd8e9a commit 1e3ccc9Copy full SHA for 1e3ccc9
1 file changed
src/ts/themes/index.ts
@@ -119,8 +119,11 @@ const updateScopeColors = async (): Promise<void> => {
119
'',
120
) as unknown as SupportedThemes;
121
122
+ console.log(theme);
123
+
124
if (supportedThemes.includes(theme)) {
- scopeColors = require(`./${theme}`);
125
+ scopeColors = await require(`./${theme}`);
126
+ console.log(scopeColors);
127
} else {
128
const themeColors = await fetchThemeColors();
129
scopeColors = fetchScopeColors(themeColors);
0 commit comments