-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
48 lines (46 loc) · 1.26 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* eslint-disable @typescript-eslint/no-var-requires */
const plugin = require('tailwindcss/plugin');
const color = require('./src/styles/tailwind/color');
const typography = require('./src/styles/tailwind/typography');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./public/**/*.{js,ts,jsx,tsx}', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
spacing: {
'bottom-nav': '60px',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
fontFamily: {
sans: ['var(--font-pretendard)'],
},
colors: { ...color },
keyframes: {
'slide-up': {
'0%': {
opacity: '0',
transform: 'translate(-50%, 100%)',
},
'100%': {
opacity: '1',
transform: 'translate(-50%, -50%)',
},
},
},
animation: {
'slide-up': 'slide-up 0.2s ease-in-out',
},
},
},
plugins: [
require('tailwind-scrollbar-hide'),
require('tailwindcss-animate'),
plugin(({ addComponents }) => {
addComponents({ ...typography });
}),
],
};