-
Notifications
You must be signed in to change notification settings - Fork 90
/
tailwind.config.js
115 lines (115 loc) · 2.47 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
const { themeVariants } = require('tailwindcss-theme-variants');
const colors = require('tailwindcss/colors');
module.exports = {
prefix: 'tw-',
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: 'media', // or false or 'class' or 'media'
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
indigo: colors.indigo,
purple: colors.violet,
pink: colors.pink,
blue: {
50: '#F5F8FB',
100: '#DBEAFE',
200: '#BFDBFE',
300: '#80B8F1',
400: '#4789CD',
500: '#1B6DC1',
600: '#1860AD',
700: '#165398',
800: '#144684',
900: '#11396F',
},
gray: {
50: '#F8FAFC',
100: '#DFE7EF',
200: '#C6D3E1',
300: '#AEC0D4',
400: '#95ACC6',
500: '#7C99B9',
600: '#607894',
700: '#435870',
800: '#27374C',
900: '#0A1627',
},
darkGray: {
50: '#F8F9FA',
100: '#F1F4F6',
200: '#E2E6EA',
300: '#CFD5DB',
400: '#98A3AF',
500: '#687480',
600: '#364453',
700: '#323b4a',
800: '#272E39',
900: '#1E232B',
},
red: {
50: '#FCF0F3',
100: '#FCE3E8',
200: '#FFCBD7',
300: '#FAA6B9',
400: '#F57894',
500: '#EF466C',
600: '#DE214C',
700: '#BC163B',
800: '#9C1937',
900: '#871630',
},
green: {
50: '#ECFCF8',
100: '#CEFBF1',
200: '#97F5E1',
300: '#56ECCC',
400: '#23D4AE',
500: '#13B894',
600: '#0A9678',
700: '#067960',
800: '#08604D',
900: '#044D3D',
},
yellow: {
50: '#FEFCE8',
100: '#FEF9C3',
200: '#FEF08A',
300: '#FDE047',
400: '#FACC15',
500: '#EAB308',
600: '#CA8A04',
700: '#A16207',
800: '#854D0E',
900: '#713F12',
},
},
backgroundSize: {
auto: 'auto',
cover: 'cover',
contain: 'contain',
80: '20rem',
88: '22rem',
},
extend: {},
},
variants: {
extend: {
backgroundColor: ['checked'],
color: ['checked'],
borderColor: ['checked'],
borderWidth: ['checked'],
},
},
plugins: [
themeVariants({
themes: {
'dark': {
selector: '.dark',
},
},
}),
],
};