mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use standard box shadow on modals
This commit is contained in:
parent
5a4e4baae6
commit
8978ff68f7
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Root, Overlay, Content } from '@radix-ui/react-dialog'
|
||||
import { styled, keyframes } from '../tokens/stitches.config'
|
||||
import { styled, keyframes, theme } from '../tokens/stitches.config'
|
||||
|
||||
export const ModalRoot = styled(Root, {})
|
||||
|
||||
|
|
@ -25,8 +25,7 @@ const contentShow = keyframes({
|
|||
const Modal = styled(Content, {
|
||||
backgroundColor: '$grayBg',
|
||||
borderRadius: 6,
|
||||
boxShadow:
|
||||
'hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px',
|
||||
boxShadow: theme.shadows.cardBoxShadow.toString(),
|
||||
position: 'fixed',
|
||||
'&:focus': { outline: 'none' },
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue