-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
119 lines (119 loc) Β· 3.96 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/** @type {import('tailwindcss').Config} */
import flowbite from 'flowbite-react/tailwind';
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite/**/*.js',
flowbite.content(),
],
theme: {
extend: {
borderWidth: {
1: '1px',
},
colors: {
point: {
50: '#EEF0FF',
100: '#E6E9FF',
200: '#CDD4FF',
300: '#B4BEFF',
400: '#9BA8FF',
500: '#7486FF',
600: '#5266EC',
700: '#2A378B',
800: '#283168',
900: '#1A1D33',
},
gray: {
100: '#F7F8FA',
200: '#EAEBED',
300: '#CACDD2',
400: '#9FA4A8',
500: '#73787E',
600: '#474C52',
700: '#27282C',
800: '#121316',
900: '#0A0B0D',
},
danger: {
100: '#FFD8DE',
200: '#FFB2BD',
300: '#FF657C',
400: '#FF3E5B',
500: '#992537',
600: '#330C12',
},
warning: {
100: '#FFD8DE',
200: '#FFB2BD',
300: '#FF657C',
400: '#FF3E5B',
500: '#992537',
600: '#330C12',
},
success: {
100: '#E7FFE3',
200: '#CFFFC6',
300: '#B6FFAA',
400: '#86FF71',
500: '#36662D',
600: '#1B3317',
},
info: {
100: '#E7FFE3',
200: '#CFFFC6',
300: '#B6FFAA',
400: '#86FF71',
500: '#36662D',
600: '#1B3317',
},
dim: '#242629',
bgColor: '#EEF0FF',
},
fontFamily: {
suit: ['SUIT Variable', 'sans-serif'],
},
fontSize: {
'title-l': ['32px', { lineHeight: '150%' }],
'title-m': ['28px', { lineHeight: '150%' }],
'title-s': ['24px', { lineHeight: '150%' }],
'body-xl': ['22px', { lineHeight: '150%' }],
'body-l': ['18px', { lineHeight: '125%' }],
'body-m': ['16px', { lineHeight: '125%' }],
'body-s': ['14px', { lineHeight: '125%' }],
'label-l': ['14px', { lineHeight: '125%' }],
'label-m': ['12px', { lineHeight: '125%' }],
'label-s': ['10px', { lineHeight: '125%' }],
detail: ['8px', { lineHeight: '125%' }],
},
fontWeight: {
extrabold: 800, // ExtraBold
semibold: 600, // SemiBold
normal: 400, // Regular
extralight: 200, // ExtraLight
},
animation: {
'rotate-180': 'rotate180 0.3s linear forwards',
'rotate-360': 'rotate360 0.3s linear forwards',
},
keyframes: {
rotate180: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(180deg)' },
},
rotate360: {
'0%': { transform: 'rotate(180deg)' },
'100%': { transform: 'rotate(360deg)' },
},
},
},
},
plugins: [
require('tailwindcss'),
require('autoprefixer'),
require('./plugins/buttonPlugin'),
require('./plugins/inputPlugin'),
flowbite.plugin(),
],
};