Skip to content

Commit

Permalink
feat: use new Tailwind sizings plugin
Browse files Browse the repository at this point in the history
Use new Tailwind sizings plugin

#401
acd02 committed Mar 15, 2023

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 0e49490 commit 4cbb16a
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/utils/tailwind-plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable-next-line @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-var-requires */
const animations = require('./animations')
const sizings = require('./sizings')

module.exports = {
animations,
sizings,
}
2 changes: 1 addition & 1 deletion tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -7,5 +7,5 @@ const tailwindcssRadix = require('tailwindcss-radix')
module.exports = {
theme: themeConf,
content: ['./packages/**/*.{js,ts,jsx,tsx}', './documentation/**/*.{js,ts,jsx,tsx,mdx}'],
plugins: [sparkPlugins.animations(), tailwindcssRadix()],
plugins: [sparkPlugins.animations(), sparkPlugins.sizings(), tailwindcssRadix()],
}

0 comments on commit 4cbb16a

Please sign in to comment.