-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (65 loc) · 2.19 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
// https://www.radix-ui.com/docs/colors/palette-composition/the-scales
const { violet, violetDark, grass, grassDark, red, redDark } = require('@radix-ui/colors');
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}"
],
theme: {
extend: {
colors: {
// https://www.radix-ui.com/docs/colors/palette-composition/the-scales#violet
'primary': {
1: violet.violet1,
2: violet.violet2,
3: violet.violet3,
4: violet.violet4,
5: violet.violet5,
6: violet.violet6,
7: violet.violet7,
8: violet.violet8,
9: violet.violet9,
10: violet.violet10,
11: violet.violet11,
12: violet.violet12
},
// https://www.radix-ui.com/docs/colors/palette-composition/the-scales#grass
'success': {
1: grass.grass1,
2: grass.grass2,
3: grass.grass3,
4: grass.grass4,
5: grass.grass5,
6: grass.grass6,
7: grass.grass7,
8: grass.grass8,
9: grass.grass9,
10: grass.grass10,
11: grass.grass11,
12: grass.grass12
},
// https://www.radix-ui.com/docs/colors/palette-composition/the-scales#red
'error': {
1: red.red1,
2: red.red2,
3: red.red3,
4: red.red4,
5: red.red5,
6: red.red6,
7: red.red7,
8: red.red8,
9: red.red9,
10: red.red10,
11: red.red11,
12: red.red12
}
}
}
},
plugins: [
require('@tailwindcss/forms')
],
darkMode: 'class'
}