diff --git a/.storybook/main.ts b/.storybook/main.ts index ab95366..342b145 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -28,7 +28,7 @@ const config: StorybookConfig = { previewBody: '' + // Warning: this should be same as the one in `src/styles/globals.css` - '
', + '', webpack: async config => ({ ...config, // Performance Hints do not make sense on Storybook as it is bloated by design diff --git a/app/[locale]/404/page.module.css b/app/[locale]/404/page.module.css index 6fd99c8..96431c0 100644 --- a/app/[locale]/404/page.module.css +++ b/app/[locale]/404/page.module.css @@ -15,7 +15,7 @@ @apply mb-4 text-center text-lg - text-gray-600 - dark:text-gray-400; + text-neutral-600 + dark:text-neutral-400; } } diff --git a/components/Common/Avatar/index.module.css b/components/Common/Avatar/index.module.css index af69aaf..21f8a2b 100644 --- a/components/Common/Avatar/index.module.css +++ b/components/Common/Avatar/index.module.css @@ -25,6 +25,6 @@ bg-white text-base font-bold - dark:bg-black + dark:bg-neutral-950 dark:text-white; } diff --git a/components/Common/Blockquote/index.module.css b/components/Common/Blockquote/index.module.css index d053897..48db978 100644 --- a/components/Common/Blockquote/index.module.css +++ b/components/Common/Blockquote/index.module.css @@ -10,7 +10,7 @@ shadow-neo-brutalism-xl-black transition-shadow dark:border-white - dark:bg-black + dark:bg-neutral-950 dark:shadow-neo-brutalism-xl-white; & .wrapper { diff --git a/components/Common/Button/index.module.css b/components/Common/Button/index.module.css index fd669ec..32905d4 100644 --- a/components/Common/Button/index.module.css +++ b/components/Common/Button/index.module.css @@ -36,9 +36,9 @@ &:disabled { @apply cursor-not-allowed - border-gray-400 - bg-gray-200 - text-gray-400; + border-neutral-400 + bg-neutral-200 + text-neutral-400; } svg { diff --git a/components/Common/Codebox/index.module.css b/components/Common/Codebox/index.module.css index 3e0d995..794d5f4 100644 --- a/components/Common/Codebox/index.module.css +++ b/components/Common/Codebox/index.module.css @@ -1,11 +1,12 @@ .codeBox { - @apply my-2 + @apply mt-2 + mb-4 rounded-md border-2 border-black bg-white dark:border-white - dark:bg-gray-800; + dark:bg-neutral-800; .header { @apply flex diff --git a/components/Common/Dropdown/index.module.css b/components/Common/Dropdown/index.module.css index 9e23de0..fee8e94 100644 --- a/components/Common/Dropdown/index.module.css +++ b/components/Common/Dropdown/index.module.css @@ -5,7 +5,7 @@ bg-white shadow-neo-brutalism-black dark:border-white - dark:bg-black + dark:bg-neutral-950 dark:shadow-neo-brutalism-white; } diff --git a/components/Common/EnventsCard/index.module.css b/components/Common/EnventsCard/index.module.css index fbb2fc3..5b2e0ef 100644 --- a/components/Common/EnventsCard/index.module.css +++ b/components/Common/EnventsCard/index.module.css @@ -12,7 +12,7 @@ lg:mx-auto lg:max-w-3/4 dark:border-white - dark:bg-gray-900 + dark:bg-neutral-900 dark:shadow-neo-brutalism-xl-white; .shapeTop { @@ -43,7 +43,7 @@ p { @apply text-lg - text-gray-500 - dark:text-gray-400; + text-neutral-500 + dark:text-neutral-400; } } diff --git a/components/Common/Pagination/index.module.css b/components/Common/Pagination/index.module.css index e073ddc..ee64e77 100644 --- a/components/Common/Pagination/index.module.css +++ b/components/Common/Pagination/index.module.css @@ -15,7 +15,7 @@ dark:shadow-neo-brutalism-white; &.active { - @apply bg-black + @apply bg-neutral-950 text-white dark:bg-white dark:text-black; @@ -24,11 +24,11 @@ &.inactive { @apply bg-white text-black - dark:bg-black + dark:bg-neutral-950 dark:text-white; &:hover { - @apply bg-black + @apply bg-neutral-950 text-white dark:bg-white dark:text-black; @@ -42,7 +42,7 @@ border-transparent px-4 py-2 - text-gray-500 - dark:text-gray-400; + text-neutral-500 + dark:text-neutral-400; } } diff --git a/components/Common/PostCard/index.module.css b/components/Common/PostCard/index.module.css index d472f98..2143612 100644 --- a/components/Common/PostCard/index.module.css +++ b/components/Common/PostCard/index.module.css @@ -24,19 +24,19 @@ /* max h 20 and truncate */ @apply truncate text-base - text-gray-700; + text-neutral-700; } time { @apply text-sm font-light - text-gray-700; + text-neutral-700; } .authors { @apply truncate text-sm - text-gray-700; + text-neutral-700; } &:has(a:hover) { diff --git a/components/Common/ProjectCard/index.module.css b/components/Common/ProjectCard/index.module.css index 73b939b..7a15a6f 100644 --- a/components/Common/ProjectCard/index.module.css +++ b/components/Common/ProjectCard/index.module.css @@ -12,7 +12,7 @@ lg:flex-row lg:items-center dark:border-white - dark:bg-gray-800; + dark:bg-neutral-800; .image { @apply h-auto @@ -40,8 +40,8 @@ } p { - @apply text-gray-600 - dark:text-gray-400; + @apply text-neutral-600 + dark:text-neutral-400; } .button { diff --git a/components/Common/TimeLine/index.module.css b/components/Common/TimeLine/index.module.css index e008e00..35c3ed4 100644 --- a/components/Common/TimeLine/index.module.css +++ b/components/Common/TimeLine/index.module.css @@ -30,14 +30,14 @@ text-sm font-normal leading-none - text-gray-500 - dark:text-gray-400; + text-neutral-500 + dark:text-neutral-400; } h3 { @apply text-lg font-semibold - text-gray-900 + text-neutral-900 dark:text-white; } diff --git a/components/Home/Hero/index.module.css b/components/Home/Hero/index.module.css index d3abb75..fb888c4 100644 --- a/components/Home/Hero/index.module.css +++ b/components/Home/Hero/index.module.css @@ -37,9 +37,9 @@ p { @apply mt-4 text-lg - text-gray-600 + text-neutral-600 md:text-xl - dark:text-gray-400; + dark:text-neutral-400; } .button { diff --git a/components/Illustration/Neobrutalism1.stories.tsx b/components/Illustration/Neobrutalism1.stories.tsx new file mode 100644 index 0000000..a899685 --- /dev/null +++ b/components/Illustration/Neobrutalism1.stories.tsx @@ -0,0 +1,9 @@ +import { Neobrutalism1 } from './index.ts'; +import type { Meta as MetaObj, StoryObj } from '@storybook/react'; + +type Story = StoryObj