-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
99 lines (94 loc) · 2.72 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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"../../*.php",
"../../src/**/*.php",
"../../modules/**/*.{php,twig.html}",
"../../resources/templates/**/*.twig.html",
"../../resources/assets/js/*.js",
"../../themes/**/*.twig.html",
],
corePlugins: {
preflight: false,
},
plugins: [require("@tailwindcss/forms")],
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1440px',
},
extend: {
colors: {
yellow: colors.amber,
gray: {
50: "hsl(220, 24%, 99%)",
100: "hsl(220, 24%, 98%)",
150: "hsl(210, 24%, 97%)",
200: "hsl(220, 24%, 95%)",
300: "hsl(220, 18%, 92%)",
400: "hsl(220, 14%, 84%)",
500: "hsl(220, 10%, 69%)",
600: "hsl(220, 8%, 52%)",
700: "hsl(220, 8%, 38%)",
800: "hsl(220, 8%, 23%)",
900: "hsl(220, 8%, 16%)",
950: "hsl(220, 8%, 10%)",
},
purple: {
50: "rgb(245, 243, 255)",
100: "rgb(237, 233, 254)",
200: "rgb(221, 214, 254)",
300: "rgb(196, 181, 253)",
400: "rgb(167, 139, 250)",
500: "rgb(139, 92, 246)",
600: "rgb(125, 62, 234)",
700: "rgb(109, 48, 207)",
800: "rgb(93, 45, 170)",
900: "rgb(74, 43, 122)",
950: "rgb(45, 28, 74)",
},
red: {
100: "rgb(255, 245, 245)",
200: "rgb(254, 215, 215)",
300: "rgb(254, 178, 178)",
400: "rgb(252, 129, 129)",
500: "rgb(245, 101, 101)",
600: "rgb(229, 62, 62)",
700: "rgb(197, 48, 48)",
800: "rgb(155, 44, 44)",
900: "rgb(116, 42, 42)",
},
},
},
},
safelist: [
"px-4",
"grid-cols-1", "grid-cols-2", "grid-cols-3", "grid-cols-4", "grid-cols-5", "grid-cols-6",
{
pattern:
/text-(purple|blue|indigo|sky|teal|green|yellow|orange|red|pink|fuchsia)-(200|600|800)$/,
variants: ["hover"],
},
{
pattern:
/bg-(purple|blue|indigo|sky|teal|green|yellow|orange|red|pink|fuchsia)-(400|600)$/,
},
{
pattern:
/bg-(purple|blue|indigo|sky|teal|green|yellow|orange|red|pink|fuchsia)-(100|700)$/,
variants: ["hover"],
},
{
pattern:
/border-(purple|blue|indigo|sky|teal|green|yellow|orange|red|pink|fuchsia)-(600)$/,
variants: ["hover"],
},
{
pattern:
/border-(purple|blue|indigo|sky|teal|green|yellow|orange|red|pink|fuchsia)-(300|500)$/,
},
],
};