Skip to content

Commit

Permalink
fix: darkmode parseTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
StrivingRabbit committed May 15, 2023
1 parent 4590421 commit 60417f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function normallizeStyles (pageStyle, themeConfig = {}, mode = 'light') {
const modeStyle = themeConfig[mode]
const styles = {}
if (!modeStyle) {
return styles
return pageStyle
}
Object.keys(pageStyle).forEach((key) => {
const styleItem = pageStyle[key] // Object Array String
Expand Down

0 comments on commit 60417f7

Please sign in to comment.