diff --git a/.storybook/main.ts b/.storybook/main.ts index f6075af0b..85979ffe7 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -6,6 +6,14 @@ const config: StorybookConfig = { '@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', + { + name: '@storybook/addon-styling', + options: { + // Check out https://github.com/storybookjs/addon-styling/blob/main/docs/api.md + // For more details on this addon's options. + postCss: true, + }, + }, ], framework: { name: '@storybook/nextjs', diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 8c2a141ca..1d9167504 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -1,3 +1,5 @@ +import '../src/styles/global.css'; + import type { Preview } from '@storybook/react'; const preview: Preview = { diff --git a/package-lock.json b/package-lock.json index 62e4a7e8a..aa835a496 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11744,9 +11744,9 @@ } }, "node_modules/eslint-plugin-tailwindcss": { - "version": "3.10.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.10.3.tgz", - "integrity": "sha512-yDJDs0R6AHT1quc9cCB5mpg5s5hBH0yE5L57GYWfRQWidF3HVEVrRF+Hg/4metBJzKikTD9QPIFd6CZANarWOQ==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.11.0.tgz", + "integrity": "sha512-RaraOG4D6VXutKnoNvFQ4+frTWGJDKtezy1yCrGFS7Um1to/npDNdh2GL19IRoGB/eanbtwhxFXy+xyEw0grAg==", "dev": true, "dependencies": { "fast-glob": "^3.2.5", @@ -35536,9 +35536,9 @@ } }, "eslint-plugin-tailwindcss": { - "version": "3.10.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.10.3.tgz", - "integrity": "sha512-yDJDs0R6AHT1quc9cCB5mpg5s5hBH0yE5L57GYWfRQWidF3HVEVrRF+Hg/4metBJzKikTD9QPIFd6CZANarWOQ==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-tailwindcss/-/eslint-plugin-tailwindcss-3.11.0.tgz", + "integrity": "sha512-RaraOG4D6VXutKnoNvFQ4+frTWGJDKtezy1yCrGFS7Um1to/npDNdh2GL19IRoGB/eanbtwhxFXy+xyEw0grAg==", "dev": true, "requires": { "fast-glob": "^3.2.5",