Skip to content

Commit

Permalink
chore: add tailwindcss plugins (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
fahmiidris authored Feb 7, 2024
1 parent 08cb9c4 commit 46c67f3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/types": "^17.8.1",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
Expand Down
28 changes: 28 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import colors from 'tailwindcss/colors';
import defaultTheme from 'tailwindcss/defaultTheme';

import tailwindcssForms from '@tailwindcss/forms';
import tailwindcssTypography from '@tailwindcss/typography';
import tailwindcssContainerQueries from '@tailwindcss/container-queries';

import type { Config } from 'tailwindcss';

Expand All @@ -27,7 +29,7 @@ const tailwindConfig = {
},
},
},
plugins: [tailwindcssTypography],
plugins: [tailwindcssForms, tailwindcssTypography, tailwindcssContainerQueries],
} satisfies Config;

export default tailwindConfig;

0 comments on commit 46c67f3

Please sign in to comment.