-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
44 lines (43 loc) · 1.08 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/client/components/**/*.{js,vue,ts}",
"./app/client/layouts/*.vue",
"./app/client/pages/**/*.vue",
"./app/client/assets/css/main.css",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./app/client/app.vue",
],
darkMode: "class",
// If you insert classes dynamically as in :class="`group-hover:text-${props.color}-400 ml-1`"
// Tailwind will not know how to save in its final css file, as it only uses classes that are
// being used in the application, then we have safelist.
safelist: [
{
pattern: /text-(red|green|blue|orange)-(100|400|500)/,
variants: ["group-hover"],
},
{
pattern: /bg-(red|green|blue|orange)-(100|200|300|400|500)/,
variants: ["group-hover"],
},
],
theme: {
screens: {
xs: "614px",
sm: "1002px",
md: "1022px",
lg: "1092px",
xl: "1280px",
},
extend: {
colors: {
background: {
light: "#FFFFFF",
dark: "#000000",
},
},
},
},
}