-
Notifications
You must be signed in to change notification settings - Fork 13
/
tailwind.config.js
35 lines (34 loc) · 1.01 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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
export default {
content: [
'./vendor/wireui/wireui/resources/**/*.blade.php',
'./vendor/wireui/wireui/ts/**/*.ts',
'./vendor/wireui/wireui/src/View/**/*.php',
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./app/Livewire/**/*Table.php',
'./app/Helpers/PowerGridThemes/*.php',
'./vendor/power-components/livewire-powergrid/resources/views/**/*.php',
'./vendor/power-components/livewire-powergrid/src/Themes/Tailwind.php'
],
darkMode: 'class',
safelist: [
{
pattern: /max-w-(sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl)/,
variants: ['sm', 'md', 'lg', 'xl', '2xl'],
},
],
presets: [
require('./vendor/wireui/wireui/tailwind.config.js'),
require('./vendor/power-components/livewire-powergrid/tailwind.config.js'),
],
theme: {
extend: {
colors: {
'pg-primary': colors.neutral,
'pg-secondary': colors.blue,
}
}
}
}