31 lines
649 B
JavaScript
31 lines
649 B
JavaScript
|
|
// tailwind.config.js
|
||
|
|
const plugin = require('tailwindcss/plugin')
|
||
|
|
|
||
|
|
/** @type {import('tailwindcss').Config} */
|
||
|
|
export default {
|
||
|
|
content: [
|
||
|
|
"./index.html",
|
||
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
||
|
|
],
|
||
|
|
theme: {
|
||
|
|
extend: {},
|
||
|
|
},
|
||
|
|
plugins: [
|
||
|
|
plugin(function ({ addUtilities }) {
|
||
|
|
addUtilities({
|
||
|
|
'.rotate-y-180': {
|
||
|
|
transform: 'rotateY(180deg)',
|
||
|
|
},
|
||
|
|
'.transform-style-3d': {
|
||
|
|
transformStyle: 'preserve-3d',
|
||
|
|
},
|
||
|
|
'.perspective-1000': {
|
||
|
|
perspective: '1000px',
|
||
|
|
},
|
||
|
|
'.backface-hidden': {
|
||
|
|
backfaceVisibility: 'hidden',
|
||
|
|
},
|
||
|
|
})
|
||
|
|
})
|
||
|
|
],
|
||
|
|
}
|