-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
72 lines (64 loc) · 1.26 KB
/
tailwind.config.cjs
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
68
69
70
71
72
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite/**/*.js',
],
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite/**/*.js',
'./node_modules/flowbite-react/**/*.js',
],
theme: {
fontFamily: {
sans: ['Roboto', 'sans-serif'],
},
extend: {
colors: {
'green-custom': '#7bd95d',
},
},
},
plugins: [
require('daisyui'),
require('tailwind-scrollbar')({ nocompatible: true }),
require('flowbite/plugin'),
],
variants: {
scrollbar: ['rounded'],
},
daisyui: {
themes: [
{
darker: {
primary: '#28A909',
secondary: '#064e3b',
accent: '#eab308',
neutral: '#404040',
'base-100': '#0b0b0b',
info: '#22D3EE',
success: '#28A909',
warning: '#facc15',
error: '#cb0119',
},
},
],
},
safelist: [
{
pattern: /(mt|mb|mr|ml|my|mx|px|py|pt|pb|pl|pr)-[0-9]+/,
},
{
pattern: /flex-.*/,
},
{
pattern: /(bottom|right|top|left)-[0-9]+/,
},
{
pattern: /(w|h)-[0-9]+/,
},
],
darkMode: 'class',
}