Skip to content

Commit

Permalink
change modal display to have better view
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrebam committed Feb 8, 2024
1 parent eb1674a commit 4888020
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/example/src/components/modals/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Typography } from '../../design-system/components/Typography';
import { Spacer } from '../../design-system/components/Spacer';
import { SpatialNavigationRoot } from '../../../../lib/src/spatial-navigation/components/Root';
import { useLockModal } from '../../hooks/useLockModal';
import { colors } from '../../design-system/theme/colors';

type CustomModalProps = ModalProps & {
isModalVisible: boolean;
Expand Down Expand Up @@ -46,7 +47,9 @@ const StyledModal = styled(View)({
const ModalContentContainer = styled(View)({
minHeight: 200,
minWidth: 200,
backgroundColor: 'grey',
backgroundColor: colors.background.main,
borderWidth: 2,
borderColor: colors.primary.light,
padding: 32,
margin: 16,
borderRadius: 16,
Expand Down

0 comments on commit 4888020

Please sign in to comment.