Skip to content

Commit

Permalink
fix: theme
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Mar 2, 2024
1 parent 5d140f5 commit 1d7847d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"scripts": {
"build": "npm run clean && npm run build:types && gulp",
"build:site": "dumi build",
"build:site": "cross-env NODE_ENV=production dumi build",
"build:types": "tsc -p tsconfig.build.json && cpr lib esm",
"clean": "rimraf lib esm dist .dumi/tmp doc-site",
"commit": "cz",
Expand Down
4 changes: 4 additions & 0 deletions src/Theme/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ export const styledDarkTheme = {
// components
contextMenuBgColor: '#1E1F20',
contextMenuBgColorHover: '#1552B3',
buttonBgColor: '#21262c',
tooltipBgColor: '#43414A',
dialogBgColor: '#05010d',
dialogBackdropColor: 'rgb(18, 18, 18, 0.7)',
}
4 changes: 4 additions & 0 deletions src/Theme/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ export const styledLightTheme = {
// components
contextMenuBgColor: '#f6f7f9',
contextMenuBgColorHover: '#1552B3',
buttonBgColor: '#f6f7f9',
tooltipBgColor: '#d7d7dc',
dialogBgColor: '#f6f7f9',
dialogBackdropColor: 'rgba(220, 220, 220, 0.4)',
}

0 comments on commit 1d7847d

Please sign in to comment.