-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
83 lines (81 loc) · 1.94 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontSize: {
xs: '0.75rem',
sm: '0.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
},
fontFamily: {
primary: ['Poppins', 'sans-serif'],
},
extend: {
colors: {
white: '#FAFAFA',
black: '#1A1829',
content: {
primary: '#FAFAFA',
},
card: {
primary: '#262229',
},
base: {
50: '#37323D',
},
},
},
},
// add daisyUI plugin
// disable esline because it will give Error: Unexpected require()
/* eslint-disable */
plugins: [require('daisyui')],
// daisyUI config (optional)
daisyui: {
styled: true,
themes: [ {
elio: {
"primary": '#D82B2B',
'primary-focus': '#781818',
'primary-content': '#FAFAFA',
"secondary": "#FF7A00",
'secondary-focus': '#D26400',
'secondary-content': '#1E1B21',
"accent": "#A3E635",
'accent-focus': '#87BB2B',
'accent-content': '#1E1B21',
'neutral': '#FAFAFA',
'neutral-focus': '#ABABAB',
'neutral-content': '#1E1B21',
"base-100": "#201B32",
'base-200': '#1A1829',
'base-300': '#151321',
'base-content': '#FAFAFA',
'base-container': '#050215',
"info": "#38BDF8",
'info-content': '#002B3D',
"success": "#A3E635",
'success-content': '#233800',
"warning": "#FB923C",
'warning-content': '#3D1C00',
"error": "#FDA4AF",
'error-content': '#52000A'
}
},
'night'
],
base: true,
utils: true,
logs: true,
rtl: false,
prefix: '',
darkTheme: 'elio',
},
};