Skip to content

Commit 7b03915

Browse files
committed
add plugin to web
1 parent 9fecc8f commit 7b03915

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

web/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"react": "^18",
1919
"react-dom": "^18",
2020
"tailwind-merge": "^2.5.2",
21-
"tailwindcss-animate": "^1.0.7"
21+
"tailwindcss-animate": "^1.0.7",
22+
"tailwindcss-spring": "^1.0.0"
2223
},
2324
"devDependencies": {
2425
"@types/node": "^20",

web/pnpm-lock.yaml

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/tailwind.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { Config } from "tailwindcss"
22
import theme from '../src/theme.js'
3-
import SpringPlugin from '../src/index.js'
43

54
const safelist = [...Object.keys(theme.bounceValues).map((key) => `spring-bounce-${key}`), ...Object.keys(theme.perceptualDurationValues).map((key) => `spring-duration-${key}`)]
65

@@ -78,7 +77,7 @@ const config = {
7877
},
7978
},
8079
},
81-
plugins: [require("tailwindcss-animate"),SpringPlugin],
80+
plugins: [require("tailwindcss-animate"),require("tailwindcss-spring")],
8281
safelist
8382
} satisfies Config
8483

0 commit comments

Comments
 (0)