forked from pupilfirst/pupilfirst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
121 lines (120 loc) · 3.14 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
120
121
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./app/**/*.html.erb", "./app/**/*.bs.js", "./app/**/*.jsx", "config/locales/*.yml"],
safelist: [
{
pattern: /bg-(red|yellow|orange|green|blue|primary|focusColor|gray)-(50|100|200|300|400|500|600|700|800|900)/,
variants: ['hover', 'focus'],
}
],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
red: colors.rose,
yellow: colors.yellow,
orange: colors.orange,
blue: colors.blue,
green: colors.green,
primary: {
50: "var(--color-primary-50)",
100: "var(--color-primary-100)",
200: "var(--color-primary-200)",
300: "var(--color-primary-300)",
400: "var(--color-primary-400)",
500: "var(--color-primary-500)",
600: "var(--color-primary-600)",
700: "var(--color-primary-700)",
800: "var(--color-primary-800)",
900: "var(--color-primary-900)",
},
gray: {
50: "var(--color-gray-50)",
100: "var(--color-gray-100)",
200: "var(--color-gray-200)",
300: "var(--color-gray-300)",
400: "var(--color-gray-400)",
500: "var(--color-gray-500)",
600: "var(--color-gray-600)",
700: "var(--color-gray-700)",
800: "var(--color-gray-800)",
900: "var(--color-gray-900)",
},
focusColor: {
50: "var(--color-focus-50)",
100: "var(--color-focus-100)",
200: "var(--color-focus-200)",
300: "var(--color-focus-300)",
400: "var(--color-focus-400)",
500: "var(--color-focus-500)",
600: "var(--color-focus-600)",
700: "var(--color-focus-700)",
800: "var(--color-focus-800)",
900: "var(--color-focus-900)",
},
},
extend: {
fontFamily: {
sans: "var(--font-family-sans)",
},
spacing: {
13: "3.25rem",
15: "3.75rem",
17: "4.25rem",
18: "4.5rem",
19: "4.75rem",
21: "5.25rem",
22: "5.5rem",
23: "5.75rem",
25: "6.25rem",
26: "6.5rem",
27: "6.75rem",
29: "7.25rem",
30: "7.5rem",
31: "7.75rem",
33: "8.25rem",
34: "8.5rem",
35: "8.75rem",
37: "9.25rem",
38: "9.5rem",
39: "9.75rem",
41: "10.25rem",
42: "10.5rem",
43: "10.75rem",
45: "11.25rem",
46: "11.5rem",
47: "11.75rem",
49: "12.25rem",
50: "12.5rem",
"1/12": "8.333333%",
"1/6": "16.666667%",
"1/5": "20%",
"1/4": "25%",
"1/3": "33.333333%",
"2/5": "40%",
"1/2": "50%",
"3/5": "60%",
"2/3": "66.666667%",
"3/4": "75%",
"4/5": "80%",
"5/6": "83.333333%",
},
borderWidth: {
3: "3px",
5: "5px",
6: "6px",
},
fontSize: {
tiny: ".625rem",
},
boxShadow: {
outline: "0 0 0 2px rgba(96, 37, 192, 0.4)",
},
screens: {
"2xl": "1824px",
},
},
},
};