Skip to content

Commit

Permalink
feat: added elevation to redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
BLuEScioN committed Oct 16, 2024
1 parent e5ad0bb commit 201c25d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/signers/SignersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const SignersTableHeader = ({
justifyContent="center"
alignItems="center"
width="fit-content"
boxShadow="elevation3"
>
<Text
fontWeight="medium"
Expand Down
14 changes: 14 additions & 0 deletions src/ui/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,20 @@ export const theme = extendTheme({
_dark: 'white',
},
},
shadows: {
elevation1: {
default: '0 2px 6px rgba(183, 180, 176, 0.2)',
_dark: '0 2px 6px rgba(0, 0, 0, 0.2)',
},
elevation2: {
default: '0 8px 16px rgba(183, 180, 176, 0.2)',
_dark: '0 8px 16px rgba(0, 0, 0, 0.2)',
},
elevation3: {
default: '0 16px 32px rgba(183, 180, 176, 0.2)',
_dark: '0 16px 32px rgba(0, 0, 0, 0.2)',
},
},
},
styles: {
global: (props: StyleFunctionProps) => ({
Expand Down

0 comments on commit 201c25d

Please sign in to comment.