Skip to content

Commit

Permalink
fix(ui): fixed bulk import footer background color in dark theme (#2165)
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Cai <yicai@redhat.com>
  • Loading branch information
ciiay authored Sep 16, 2024
1 parent 264900c commit f7a95e4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/bulk-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@backstage/test-utils": "1.5.9",
"@janus-idp/cli": "1.13.1",
"@playwright/test": "1.45.3",
"@redhat-developer/red-hat-developer-hub-theme": "0.2.0",
"@redhat-developer/red-hat-developer-hub-theme": "0.3.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "14.3.1",
"@testing-library/user-event": "14.5.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ const useStyles = makeStyles(theme => ({
paddingTop: '24px',
paddingBottom: '24px',
paddingLeft: '24px',
backgroundColor: theme.palette.background.default,
backgroundColor:
theme.palette.type === 'light'
? '#fff'
: theme.palette.navigation.background,
width: '100%',
borderTopStyle: 'groove',
border: theme.palette.divider,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const useDrawerContentStyles = makeStyles(theme => ({
bottom: 0,
paddingLeft: '24px',
paddingBottom: '24px',
backgroundColor: theme.palette.background.paper,
backgroundColor: theme.palette.type === 'light' ? '#fff' : '#1b1d21',
width: '100%',
borderTopStyle: 'groove',
border: theme.palette.divider,
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7a95e4

Please sign in to comment.