-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (39 loc) · 1.47 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
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import preset from './vendor/filament/support/tailwind.config.preset';
import fs from 'fs';
import path from 'path';
const themeFilePath = path.resolve(__dirname, 'theme.json');
const activeTheme = fs.existsSync(themeFilePath) ? JSON.parse(fs.readFileSync(themeFilePath, 'utf8')).name : 'anchor';
/** @type {import('tailwindcss').Config} */
export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/views/components/**/*.blade.php',
'./resources/views/components/blade.php',
'./wave/resources/views/**/*.blade.php',
'./resources/themes/' + activeTheme + '/**/*.blade.php',
'./resources/plugins/**/*.php',
'./config/*.php'
],
theme: {
extend: {
animation: {
'marquee': 'marquee 25s linear infinite',
},
keyframes: {
'marquee': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
}
}
},
},
plugins: [forms, require('@tailwindcss/typography')],
};