-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.js
More file actions
49 lines (48 loc) · 1.04 KB
/
tailwind.config.js
File metadata and controls
49 lines (48 loc) · 1.04 KB
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
/**
* Tailwind CSS configuration for ReactRelay.
* Scans HTML/JS/TS/TSX/JSX under `src/` and the project root, extends the default theme,
* and applies DaisyUI with a custom `mytheme` palette and border-width scale.
*
* @type {import('tailwindcss').Config}
*/
module.exports = {
content: [
'./src/**/*.html',
'./',
'./src/**/*.tsx',
'./src/**/*.jsx',
'./src/**/*.ts',
'./src/**/*.js',
],
theme: {
extend: {},
},
plugins: [require('daisyui')],
daisyui: {
themes: [
{
mytheme: {
primary: '#4DA5CB',
secondary: '#FFD059',
accent: '#FF7959',
neutral: '#A6D9EF',
'base-100': '#A6D9EF',
// 'tree-background': '#22303C',
info: '#73BEDE',
success: '#36d399',
warning: '#FFB909',
error: '#f87272',
},
borderWidth: {
DEFAULT: '1px',
0: '0',
2: '2px',
3: '3px',
4: '4px',
6: '6px',
8: '8px',
},
},
],
},
};