forked from boussadjra/vue3-tailwind2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
76 lines (75 loc) · 1.37 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
let sizes = {};
for (let index = 1; index <= 100; index++) {
sizes[index*4 + 'px'] = (index*4) + 'px';
}
let minSize = {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
};
module.exports = {
purge: [
"./src/**/*.html",
"./src/**/*.vue",
"./src/**/*.js",
"./src/**/*.ts",
"./src/**/*.tsx",
"./src/**/*.css"
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
'navy-blue': {
'50': '#f2f3f9',
'100': '#e6e6f3',
'200': '#c0c1e1',
'300': '#9a9ccf',
'400': '#4e52ab',
'500': '#020887',
'600': '#02077a',
'700': '#020665',
'800': '#010551',
'900': '#010442',
},
emerald: {
'50': '#f4fdf8',
'100': '#e9faf0',
'200': '#c8f3da',
'300': '#a7ebc4',
'400': '#65dd97',
'500': '#23ce6b',
'600': '#20b960',
'700': '#1a9b50',
'800': '#157c40',
'900': '#116534',
},
black: {
100: '#cdd0d6',
200: '#9ba2ae',
300: '#687385',
400: '#36455d',
500: '#041634',
600: '#03122a',
700: '#020d1f',
800: '#020915',
900: '#01040a',
},
},
height: sizes,
width: sizes,
minWidth: minSize,
minHeight: minSize,
screens: { xs: '320px' },
transitionProperty: {
width: 'width',
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/aspect-ratio'),],
};