-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
84 lines (82 loc) ยท 2.11 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/** @type {import('tailwindcss').Config} */
import * as colors from './tailwind/colors.js';
import * as fonts from './tailwind/fonts.js';
import flowbite from 'flowbite/plugin';
import typography from '@tailwindcss/typography';
import scrollbarHide from 'tailwind-scrollbar-hide';
const config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/flowbite-react/**/*.js",
],
theme: {
extend: {
colors: {
bgdark: colors.bgDark,
primaryLight: colors.primaryLight,
primaryDark: colors.primaryDark,
secondaryLight: colors.secondaryLight,
secondaryDark: colors.secondaryDark,
subLight: colors.subLight,
subDark: colors.subDark,
},
fontFamily: {
nanum: ['var(--font-nanum)'],
code: ['var(--font-elice)', 'monospace'],
},
fontSize: {
'xxs': '12px',
},
width: {
'card-pc': '288px',
'article': '588px',
},
maxWidth: {
'content-full': '1200px',
},
minWidth: {
'content-quarter': '320px',
},
spacing: {
'nav': '59px',
},
lineHeight: {
'h1': '72px',
},
borderWidth: {
'1': '1px',
},
rotate: {
'90': '90deg',
},
keyframes: {
fadeIn: {
'0%': { opacity: 0, transform: 'translateY(24px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
slideLeft: {
'0%': { opacity: 0, transform: 'translateX(-24px)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
slideRight: {
'0%': { opacity: 0, transform: 'translateX(24px)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
}
},
animation: {
fadeIn: 'fadeIn .6s ease-out',
slideLeft: 'slideLeft .6s ease-out',
slideRight: 'slideRight .6s ease-out',
},
},
darkMode: 'class',
},
plugins: [
flowbite,
typography,
scrollbarHide,
],
};
export default config;