Skip to content

Commit

Permalink
chore(web): added the TailwindCSS typography plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kurone-kito committed Jun 29, 2024
1 parent 0c1252a commit 78f7881
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@kurone-kito/prettier-config": "^0.12.0",
"@kurone-kito/typescript-config": "^0.12.0",
"@opentelemetry/api": "~1.8.0",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
Expand Down
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import twElements from 'tw-elements/plugin.cjs';
import typography from '@tailwindcss/typography';

/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/**/*.{html,js,jsx,ts,tsx}',
'./node_modules/tw-elements/js/**/*.js',
],
plugins: [twElements],
plugins: [twElements, typography],
darkMode: 'class',
theme: {
extend: {
Expand Down

0 comments on commit 78f7881

Please sign in to comment.