forked from Sprint-Part3-Team14/Taskify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
69 lines (66 loc) · 1.75 KB
/
Copy pathtailwind.config.ts
File metadata and controls
69 lines (66 loc) · 1.75 KB
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
import type { Config } from 'tailwindcss';
const { fontFamily } = require('tailwindcss/defaultTheme');
const BACKGROUND_WIDTH = {
mobile: '375px',
tablet: '768px',
pc: '1024px',
};
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./layout/**/*.{js,ts,jsx,tsx,mdx}',
'./hooks/**/*.{js,ts,jsx,tsx,mdx}',
'./utils/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
animation: {
buttonHover: 'buttonHover 0.3s ease forwards',
},
colors: {
tp: {
black_900: '#000000',
black_800: '#171717',
black_700: '#333236',
black_600: '#4B4B4B',
gray_900: '#787486',
gray_800: '#9FA6B2',
gray_700: '#D9D9D9',
gray_600: '#EEEEEE',
gray_500: '#FAFAFA',
white: '#FFFFFF',
violet_900: '#5534DA',
violet_100: '#F1EFFD',
red: '#D6173A',
green: '#7AC555',
purple: '#760DDE',
orange: '#FFA500',
blue: '#76A5EA',
pink: '#E876EA',
},
},
keyframes: (props: { theme: any }) => {
const { theme } = props;
return {
buttonHover: {
'0%': {
backgroundColor: theme('colors.tp.blue300'),
boxShadow: theme('boxShadow.none'),
},
'100%': {
backgroundColor: theme('colors.tp.blue400'),
boxShadow: theme('boxShadow.lg'),
},
},
};
},
maxWidth: { ...BACKGROUND_WIDTH },
minWidth: { ...BACKGROUND_WIDTH },
width: { ...BACKGROUND_WIDTH },
},
fontFamily: {
pretendard: ['Pretendard', ...fontFamily.sans],
},
},
};