-
-
Notifications
You must be signed in to change notification settings - Fork 184
/
tailwind.config.js
53 lines (53 loc) · 1.34 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
module.exports = {
theme: {
animation: {
'zoom-.5': 'zoom-.5 2s',
},
colors: {
number: 0,
purple: 'purple',
'purple-hyphen': 'purple-hyphen',
mycolors: {
DEFAULT: 'blue',
'a-purple': 'purple',
'a-number': 0,
array: ['blue', 'purple', 'orange'],
},
'my-blue': {
100: 'blue',
},
'color-opacity': ({ opacityVariable }) =>
`rgba(var(--color-primary), var(${opacityVariable}, 1))`,
color: {
deep: {
config: {
500: '#0747A6',
},
},
},
blue: {
DEFAULT: 'blue-default',
gray: { 200: "this-gets-trumped by 'blue-gray: {200}'" },
},
'blue-gray': {
DEFAULT: 'blue-gray-default',
200: 'blue-gray-200',
},
'blue-gray-green': {
DEFAULT: 'blue-gray-green-default',
200: 'blue-gray-green-200',
'deep-dish': {
DEFAULT: 'blue-gray-green-deep-dish-default',
200: 'blue-gray-green-deep-dish-200',
},
},
'blue-gray-green-pink': 'blue-gray-green-pink',
},
fontWeight: {
customFontWeightAsString: '700',
// Tailwind accepts numbers in configuration as well
// https://tailwindcss.com/docs/font-weight#font-weights
customFontWeightAsNumber: 800,
},
},
}