generated from YummYume/symfony-spa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
49 lines (48 loc) · 1.04 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
/* eslint-disable import/no-extraneous-dependencies */
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./assets/**/*.(js|ts)',
'./templates/**/*.html.twig',
'./src/Components/**/*.php',
'./src/Form/**/*Field.php',
'./src/Builder/**/*.php',
'./src/Entity/**/*.php',
],
darkMode: 'class',
theme: {
extend: {},
},
daisyui: {
themes: [
{
light: {
...require('daisyui/src/colors/themes')['[data-theme=light]'],
primary: '#10B981',
secondary: '#6366F1',
},
dark: {
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
primary: '#10B981',
secondary: '#6366F1',
},
},
],
},
safelist: [
'alert-error',
'alert-info',
'alert-success',
'alert-warning',
'btn-error',
'btn-info',
'btn-success',
'btn-warning',
'bg-primary',
'bg-warning',
'dark:bg-secondary',
'rounded-lg',
'rounded-3xl',
],
plugins: [require('daisyui')],
};