Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Tyla <[email protected]>
  • Loading branch information
LukasTy authored Oct 16, 2024
1 parent 75ff585 commit 6edb383
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const TreeItem2DragAndDropOverlayRoot = styled('div', {
? `1px solid rgba(${theme.vars.palette.grey[900]} / ${0.6})`
: `1px solid ${alpha(theme.palette.grey[900], 0.6)}`,
...theme.applyStyles('dark', {
borderTopColor: theme.vars ? `rgba(${theme.vars.palette.grey[100]} / ${0.6})` : alpha(theme.palette.grey[100], 0.6),
borderTopColor: theme.vars
? `rgba(${theme.vars.palette.grey[100]} / ${0.6})`
: alpha(theme.palette.grey[100], 0.6),
}),
},
},
Expand All @@ -49,7 +51,9 @@ const TreeItem2DragAndDropOverlayRoot = styled('div', {
? `1px solid rgba(${theme.vars.palette.grey[900]} / ${0.6})`
: `1px solid ${alpha(theme.palette.grey[900], 0.6)}`,
...theme.applyStyles('dark', {
borderBottomColor: theme.vars ? `rgba(${theme.vars.palette.grey[100]} / ${0.6})` : alpha(theme.palette.grey[100], 0.6),
borderBottomColor: theme.vars
? `rgba(${theme.vars.palette.grey[100]} / ${0.6})`
: alpha(theme.palette.grey[100], 0.6),
}),
},
},
Expand All @@ -62,7 +66,9 @@ const TreeItem2DragAndDropOverlayRoot = styled('div', {
? `1px solid rgba(${theme.vars.palette.grey[900]} / ${0.6})`
: `1px solid ${alpha(theme.palette.grey[900], 0.6)}`,
...theme.applyStyles('dark', {
borderBottomColor: theme.vars ? `rgba(${theme.vars.palette.grey[100]} / ${0.6})` : alpha(theme.palette.grey[100], 0.6),
borderBottomColor: theme.vars
? `rgba(${theme.vars.palette.grey[100]} / ${0.6})`
: alpha(theme.palette.grey[100], 0.6),
}),
},
},
Expand Down

0 comments on commit 6edb383

Please sign in to comment.