Skip to content

Commit

Permalink
💄 elevation 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
june6723 authored and rubric-dev committed Mar 24, 2023
1 parent 38608e6 commit efbdd15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Alerts/Alert.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const commonStyle = css<AlertProps>`
const toastStyle = css<AlertProps>`
${({ theme }) => {
return css`
${theme.elevation.elevation1};
${theme.elevation.elevation2};
${commonStyle}
`;
}}
Expand Down
6 changes: 3 additions & 3 deletions src/Card/Card.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const DefaultCard = styled(Box)<{ disabled?: boolean }>`
${({ theme, disabled }) => css`
${CommonStyle}
&:hover {
box-shadow: 0px 4px 8px rgba(16, 24, 64, 0.08);
${theme.elevation.elevation0}
}
&:focus,
&:active {
Expand Down Expand Up @@ -45,12 +45,12 @@ export const SelectableCard = styled(Box)<{
${CommonStyle}
cursor: pointer;
&:hover {
box-shadow: 0px 4px 8px rgba(16, 24, 64, 0.08);
${theme.elevation.elevation0}
}
&:focus,
&:active {
${theme.commonStyles.outline};
box-shadow: 0px 4px 8px rgba(16, 24, 64, 0.08);
${theme.elevation.elevation0}
}
${disabled &&
css`
Expand Down
2 changes: 1 addition & 1 deletion src/DialogModal/DialogModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const DialogModal = memo(function DialogModal({
close={close}
width={width}
{...dialogProps}
elevation={0}
elevation={2}
state={state}
overrideStyles={css`
width: ${width}px;
Expand Down

0 comments on commit efbdd15

Please sign in to comment.