-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
58 lines (58 loc) · 1.28 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
// Pour la generation des classes dynamic
safelist: [
"text-2xl",
"text-3xl",
"bg-[]",
{
pattern: /text-(red|green|blue)-(100|200|300|500|600|700|800|900)/,
variants: ["lg", "hover", "focus", "lg:hover"],
},
],
darkMode: "class",
theme: {
fontFamily: {
display: ["Open Sans", "sans-serif"],
body: ["Open Sans", "sans-serif"],
},
extend: {
fontSize: {
14: "14px",
},
backgroundColor: {
"main-bg": "#FAFBFB",
"main-dark-bg": "#20232A",
"secondary-dark-bg": "#33373E",
"light-gray": "#F7F7F7",
"half-transparent": "rgba(0, 0, 0, 0.5)",
},
borderWidth: {
1: "1px",
},
borderColor: {
color: "rgba(0, 0, 0, 0.1)",
},
width: {
400: "400px",
760: "760px",
780: "780px",
800: "800px",
1000: "1000px",
1200: "1200px",
1400: "1400px",
},
height: {
80: "80px",
},
minHeight: {
590: "590px",
},
backgroundImage: {
"hero-pattern": "url('./src/libs/data/images/welcome-bg.svg')",
},
},
},
plugins: [],
};