-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (64 loc) · 1.62 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./icons/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
colors: {
// Dark
deepBlue: colors.blue[900],
slate900: colors.slate[900],
neutral900: colors.neutral[900],
deepIndigo: colors.indigo[900],
zinc900: colors.zinc[900],
// Light
lightTeal: colors.teal[400],
red: colors.red[700],
// Colorful
// white: colors.slate[50],
orange: colors.orange[600],
green: colors.green[600],
gray: colors.gray[600],
},
},
plugins: [require('daisyui')],
daisyui: {
themes: [
{
light: {
...require('daisyui/src/colors/themes')['[data-theme=aqua]'],
primary: '#bae6fd',
secondary: '#2dd4bf',
accent: '#f97316',
neutral: colors.slate[900],
'base-100': '#f8fafc',
info: '#38bdf8',
success: '#22c55e',
warning: '#facc15',
inactive: '#f8fafc',
error: '#f87171',
},
},
{
dark: {
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
primary: '#0f172a',
secondary: '#164e63',
accent: '#c2410c',
neutral: colors.slate[100],
'base-100': '#1f2937',
info: '#1e3a8a',
success: '#047857',
warning: '#d97706',
inactive: '#f8fafc',
error: '#b91c1c',
},
},
],
},
darkMode: 'class',
};