2021-02-06 09:36:00 +09:00
|
|
|
module.exports = {
|
|
|
|
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
2021-05-21 18:36:19 +09:00
|
|
|
darkMode: "class",
|
2021-02-06 09:36:00 +09:00
|
|
|
theme: {
|
2021-02-13 14:06:05 +09:00
|
|
|
aspectRatio: {
|
|
|
|
none: 0,
|
|
|
|
square: [1, 1],
|
|
|
|
"16/9": [16, 9],
|
|
|
|
"4/3": [4, 3],
|
|
|
|
"21/9": [21, 9]
|
2021-05-30 10:39:24 +09:00
|
|
|
},
|
|
|
|
maxHeight: {
|
|
|
|
'0': '0',
|
|
|
|
'1/4': '25%',
|
|
|
|
'1/2': '50%',
|
|
|
|
'3/4': '75%',
|
|
|
|
'full': '100%',
|
|
|
|
},
|
2021-02-07 17:40:43 +09:00
|
|
|
filter: { // defaults to {}
|
|
|
|
'none': 'none',
|
|
|
|
'grayscale': 'grayscale(1)',
|
|
|
|
'invert': 'invert(1)',
|
|
|
|
'sepia': 'sepia(1)',
|
|
|
|
},
|
|
|
|
backdropFilter: { // defaults to {}
|
|
|
|
'none': 'none',
|
|
|
|
'blur': 'blur(20px)',
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
animation:{
|
|
|
|
blur: 'blur 2.5s linear infinite',
|
2021-02-21 16:54:28 +09:00
|
|
|
heartbeat: 'heartbeat 3s linear infinite',
|
|
|
|
rumble: 'rumble 0.1s linear infinite',
|
2021-02-07 17:40:43 +09:00
|
|
|
},
|
|
|
|
keyframes:{
|
2021-02-21 16:54:28 +09:00
|
|
|
rumble: {
|
|
|
|
'0%': { transform: 'translate(0, 0)', filter: 'rotate(0)' },
|
|
|
|
'16.66%': { transform: 'translate(4px, -2px)', filter: 'rotate(-5deg)' },
|
|
|
|
'33.32%': { transform: 'translate(4px, 2px)', filter: 'rotate(5deg)' },
|
|
|
|
'49.98%': { transform: 'translate(0, 0)', filter: 'rotate(0)' },
|
|
|
|
'66.64%': { transform: 'translate(-4px, -2px)', filter: 'rotate(5deg)' },
|
|
|
|
'83.30%': { transform: 'translate(-4px, 2px)', filter: 'rotate(-5deg)' },
|
|
|
|
'100%': { transform: 'translate(0, 0)', filter: 'rotate(0)' },
|
|
|
|
},
|
2021-02-07 17:40:43 +09:00
|
|
|
blur: {
|
|
|
|
'0%, 100%': {filter: 'blur(8px)'},
|
|
|
|
'50%': {filter: 'blur(0px)'}
|
2021-02-08 16:05:58 +09:00
|
|
|
},
|
|
|
|
heartbeat: {
|
|
|
|
'0%, 100%': {filter: 'drop-shadow(0px 0px 1px rgb(255, 255, 255))'},
|
|
|
|
'50%': {filter: 'drop-shadow(0px 0px 8px rgb(255, 255, 255))'}
|
|
|
|
},
|
2021-06-02 15:06:27 +09:00
|
|
|
translate: {
|
|
|
|
'1/7': '14.2857143%',
|
|
|
|
'2/7': '28.5714286%',
|
|
|
|
'3/7': '42.8571429%',
|
|
|
|
'4/7': '57.1428571%',
|
|
|
|
'5/7': '71.4285714%',
|
|
|
|
'6/7': '85.7142857%',
|
|
|
|
},
|
2021-02-21 16:54:28 +09:00
|
|
|
},
|
2021-02-07 17:40:43 +09:00
|
|
|
}
|
2021-02-06 09:36:00 +09:00
|
|
|
},
|
|
|
|
variants: {
|
2021-03-08 13:37:56 +09:00
|
|
|
animation: ['hover', 'focus'],
|
|
|
|
filter: ['responsive'],
|
|
|
|
backdropFilter: ['responsive'],
|
2021-02-13 14:06:05 +09:00
|
|
|
aspectRatio: ['responsive'],
|
2021-03-08 13:37:56 +09:00
|
|
|
nightwind: ['group-hover', 'active', 'focus'],
|
2021-02-06 09:36:00 +09:00
|
|
|
},
|
2021-02-07 17:40:43 +09:00
|
|
|
plugins: [
|
|
|
|
require('tailwindcss-filters'),
|
2021-02-13 14:06:05 +09:00
|
|
|
require("tailwindcss-responsive-embed"),
|
2021-05-23 15:46:22 +09:00
|
|
|
require("tailwindcss-aspect-ratio"),
|
|
|
|
require('@tailwindcss/typography'),
|
2021-02-13 14:06:05 +09:00
|
|
|
]
|
2021-02-06 09:36:00 +09:00
|
|
|
}
|