Skip to content

Commit 8fa292f

Browse files
authored
Fix display of custom card colors (#181)
1 parent f909ceb commit 8fa292f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/App.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,19 @@ function App() {
8888
if (parsedCustoms.light) {
8989
setCustomLightTheme({
9090
...lightTheme,
91-
setCard: { ...lightTheme.custom.setCard, ...parsedCustoms.light },
91+
custom: {
92+
...lightTheme.custom,
93+
setCard: { ...lightTheme.custom.setCard, ...parsedCustoms.light },
94+
},
9295
});
9396
}
9497
if (parsedCustoms.dark) {
9598
setCustomDarkTheme({
9699
...darkTheme,
97-
setCard: { ...darkTheme.custom.setCard, ...parsedCustoms.dark },
100+
custom: {
101+
...darkTheme.custom,
102+
setCard: { ...darkTheme.custom.setCard, ...parsedCustoms.dark },
103+
},
98104
});
99105
}
100106
}, [customColors]);

0 commit comments

Comments
 (0)