diff --git a/package.json b/package.json index 78a0249e..020622c4 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "jsdom": "^23.0.1", "sass": "^1.69.6", "storybook": "^7.6.6", + "storybook-react-context": "^0.6.0", "stylelint": "^16.1.0", "stylelint-config-property-sort-order-smacss": "^10.0.0", "stylelint-config-standard-scss": "^12.0.0", diff --git a/src/app/globals.css b/src/app/globals.css index 989eb843..c0767714 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -11,6 +11,10 @@ --black: #090A0A; --white: #FFF; --pink: #F67272; + + /* -------------- z-index -------------- */ + --dimmed-zindex: 10; + --modal-zindex: 11; } body { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 48369e70..b9722144 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,6 +4,7 @@ import localFont from 'next/font/local'; import './globals.css'; +import { ModalContextProvider } from '@contexts/ModalContext'; import StoreProvider from '@providers/StoreProvider'; import TanstackQueryProvider from '@providers/TanstackQueryProvider'; @@ -32,9 +33,12 @@ export default function RootLayout({