-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
67 lines (65 loc) · 2.16 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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
darkMode: 'class',
theme: {
colors: {
...colors,
primary: colors.orange,
secondary: colors.zinc,
success: colors.green,
error: colors.red,
positive: colors.emerald,
negative: colors.red,
warning: colors.amber,
info: colors.blue,
},
extend: {
fontFamily: {
dana: ["DanaVariableFont", ...defaultTheme.fontFamily.sans],
vazir: ["Vazirmatn", ...defaultTheme.fontFamily.sans],
},
keyframes: {
recolor: {
"0%, 100%": { "border-color": colors.orange[200] },
"50%": { "border-color": colors.orange[600] },
},
"text-recolor": {
"0%, 100%": { color: colors.orange[200] },
"50%": { color: colors.orange[600] },
},
},
animation: {
recolor: "recolor 2s linear infinite",
"text-recolor": "text-recolor 2s linear infinite",
},
},
},
variants: {
extend: {
backgroundColor: ["active"],
},
},
content: [
"./app/**/*.php",
"./resources/**/*.html",
"./resources/**/*.js",
"./resources/**/*.jsx",
"./resources/**/*.ts",
"./resources/**/*.tsx",
"./resources/**/*.php",
"./resources/**/*.vue",
"./resources/**/*.twig",
"./resources/views/**/*.blade.php",
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
"./vendor/laravel/jetstream/**/*.blade.php",
"./vendor/wireui/wireui/resources/**/*.blade.php",
"./vendor/wireui/wireui/ts/**/*.ts",
"./vendor/wireui/wireui/src/View/**/*.php",
"./vendor/rappasoft/laravel-livewire-tables/resources/views/**/*.blade.php",
],
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
],
};