-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
62 lines (62 loc) · 2.3 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
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [
require("./vendor/wireui/wireui/tailwind.config.js"),
require("./vendor/power-components/livewire-powergrid/tailwind.config.js"),
],
content: [
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
"./storage/framework/views/*.php",
"./resources/**/*.blade.php",
"./resources/**/*.js",
// Wuire ui
"./vendor/wireui/wireui/resources/**/*.blade.php",
"./vendor/wireui/wireui/ts/**/*.ts",
"./vendor/wireui/wireui/src/View/**/*.php",
"./App/Models/**/*.php",
//Wire-element Modal
"./vendor/wire-elements/modal/src/*.php",
"./vendor/wire-elements/modal/resources/views/*.blade.php",
"./storage/framework/views/*.php",
//Calendar
"../public/calendar/*.{html,js",
"../public/**/*.js",
"./public/calendar/*.js",
//MAILS
"./resources/views/mails/**/*.blade.php",
"./node_modules/tw-elements/dist/js/**/*.js",
// Powergrid
'./app/Http/Livewire/**/*Table.php',
'./vendor/power-components/livewire-powergrid/resources/views/**/*.php',
'./vendor/power-components/livewire-powergrid/src/Themes/Tailwind.php'
],
safelist: [
{
pattern:
/(bg|text|border)-(slate|gray|zinc|neutral|stone|red|orange|yellow|lime|green|emrald|teal|cyan|sky|blue|indigo|violet|purple|fushia|pink|rose)-(100|200|300|400|500|600|700|800|900)/,
variants: ["after", "before", "hover", "selection"],
},
...[...Array(100).keys()].flatMap((i) => [`w-[${i * 1}%]`]),
{
pattern: /(max|min)-(w)-(sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|full)/,
variants: ["sm", "md", "lg", "xl"],
},
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ["Assistant", ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [
require('@tailwindcss/typography'),
require("tw-elements/dist/plugin.cjs"),
require("@tailwindcss/forms")({
strategy: "class",
}),
],
};