Generic node working, passed object with types

This commit is contained in:
Lucas Oliveira 2023-02-14 19:00:20 -03:00
commit fc3fe6a85d
14 changed files with 551 additions and 240 deletions

View file

@ -1,4 +1,5 @@
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ["./src/**/*.{js,ts,tsx,jsx}"],
important:true,
@ -6,9 +7,23 @@ module.exports = {
extend: {},
},
plugins: [
// ...
require("@tailwindcss/forms")({
strategy: 'class', // only generate classes
}),
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-hide': {
/* IE and Edge */
'-ms-overflow-style': 'none',
/* Firefox */
'scrollbar-width': 'none',
/* Safari and Chrome */
'&::-webkit-scrollbar': {
display: 'none'
}
}
}
)
})
],
}