Skip to content

Commit

Permalink
Fix display of custom card colors (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang authored Dec 29, 2024
1 parent f909ceb commit 8fa292f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,19 @@ function App() {
if (parsedCustoms.light) {
setCustomLightTheme({
...lightTheme,
setCard: { ...lightTheme.custom.setCard, ...parsedCustoms.light },
custom: {
...lightTheme.custom,
setCard: { ...lightTheme.custom.setCard, ...parsedCustoms.light },
},
});
}
if (parsedCustoms.dark) {
setCustomDarkTheme({
...darkTheme,
setCard: { ...darkTheme.custom.setCard, ...parsedCustoms.dark },
custom: {
...darkTheme.custom,
setCard: { ...darkTheme.custom.setCard, ...parsedCustoms.dark },
},
});
}
}, [customColors]);
Expand Down

0 comments on commit 8fa292f

Please sign in to comment.