Skip to content

Commit

Permalink
Updated: Tailwind to 1.6 and removed Animations plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed Aug 3, 2020
1 parent df7375a commit 0cfad12
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 39 deletions.
52 changes: 22 additions & 30 deletions package-lock.json

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

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,14 @@
"alpinejs": "^2.5.0",
"fg-loadcss": "^2.1.0",
"js-cookie": "^2.2.1",
"tailwindcss": "^1.5.1",
"tailwindcss-animations": "^2.0.0",
"tailwindcss": "^1.6.1",
"tailwindcss-aspect-ratio": "^2.0.0",
"tailwindcss-typography": "^3.1.0",
"vanilla-lazyload": "^16.1.0"
},
"devDependencies": {
"autoprefixer": "^9.8.5",
"browser-sync": "^2.26.10",
"autoprefixer": "^9.8.6",
"browser-sync": "^2.26.12",
"critical": "^1.3.10",
"cssnano": "^4.1.10",
"del": "^4.1.1",
Expand Down
7 changes: 2 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ module.exports = {
}
}),
// Plugins
animations: {},
aspectRatio: {
'square': [1, 1],
'16/9': [16, 9],
Expand All @@ -110,14 +109,12 @@ module.exports = {
backgroundColor: ['responsive', 'hover', 'focus', 'group-hover'],
opacity: ['responsive', 'hover', 'group-hover'],
translate: ['responsive', 'hover', 'group-hover'],
scale: ['responsive', 'hover', 'group-hover'],
animations: ['responsive', 'hover', 'group-hover']
scale: ['responsive', 'hover', 'group-hover']
},
plugins: [
require('@tailwindcss/typography'),
require('tailwindcss-typography')({ componentPrefix: '' }),
require('tailwindcss-aspect-ratio')(),
require('tailwindcss-animations')
require('tailwindcss-aspect-ratio')()
],
purge: []
}

0 comments on commit 0cfad12

Please sign in to comment.