Skip to content

Commit

Permalink
dev: Added tailwind typography
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-crowell committed Jun 17, 2024
1 parent fac43d1 commit d5bad1c
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@storybook/react": "8.2.0-alpha.9",
"@storybook/react-vite": "8.2.0-alpha.9",
"@storybook/test": "8.2.0-alpha.9",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.12.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
35 changes: 35 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Config } from 'tailwindcss';
import path from 'node:path';
import fs from 'node:fs';
import { nextui } from '@nextui-org/react';
import tailwindTypography from '@tailwindcss/typography';

const nextuiContent = path.join(
fs.realpathSync('./node_modules/@nextui-org/theme'),
Expand All @@ -18,6 +19,7 @@ const config: Config = {
],
plugins: [
nextui(),
tailwindTypography,
],
};
export default config;

0 comments on commit d5bad1c

Please sign in to comment.