-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.cjs
120 lines (116 loc) · 3.96 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
function withOpacityValue(variable) {
return ({ opacityValue }) => {
if (opacityValue === undefined) {
return `hsl(var(${variable}))`
}
return `hsl(var(${variable}) / ${opacityValue})`
}
}
module.exports = {
content: ["./src/**/*.{js,jsx}"],
theme: {
screens: {
"ssm": "320px",
'xs': '475px',
...defaultTheme.screens,
},
extend: {
colors: {
'primary-light': withOpacityValue('--primary-light'),
'primary-dark': withOpacityValue('--primary-dark'),
}
},
},
plugins: [require("daisyui"), require("@tailwindcss/typography")],
daisyui: {
themes: [
{
"aurora-classic": {
"primary": "#7E3AF2",
"secondary": "#7E3AF2",
"accent": "#7E3AF2",
"neutral": "#24262D",
"base-100": "#FFFFFF",
"info": "#3ABFF8",
"success": "#4ADE80",
"success-content": "#4ADE80",
"warning": "#FACC15",
"warning-content": "#FACC15",
"error": "#F87171",
"error-content": "#F87171",
"base-100": "#ffffff",
"--primary-light": "hsl(var(--p) / 0.8)",
"--primary-dark": "hsl(var(--p) / 1.2)",
"--rounded-box": "1rem", // border radius rounded-box utility class, used in card and other large boxes
"--rounded-btn": "0.5rem", // border radius rounded-btn utility class, used in buttons and similar element
"--rounded-badge": "1.9rem", // border radius rounded-badge utility class, used in badges and similar
"--animation-btn": "0.25s", // duration of animation when you click on button
"--animation-input": "0.2s", // duration of animation for inputs like checkbox, toggle, radio, etc
"--btn-text-case": "uppercase", // set default text transform for buttons
"--btn-focus-scale": "0.95", // scale transform of button when you focus on it
"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0.5rem", // border radius of tabs
},
"monochrome": {
primary: "#8eb6f5",
secondary: "#c58fff",
accent: "#f58ee0",
neutral: "#fdfdfe",
"base-100": "#0F1014",
info: "#1166f0",
success: "#69f56e",
warning: "#ffbb88",
error: "#ff03cc",
},
"moonlight": {
primary: "#626983",
secondary: "#7C829D",
accent: "#999EB2",
neutral: "#E2E4ED",
"base-100": "#0F1014",
info: "#1166f0",
success: "#69f56e",
warning: "#ffbb88",
error: "#ff03cc",
},
"midnight": {
primary: "#EE8679",
secondary: "#F8D2C9",
accent: "#5BA2D0",
neutral: "#DEE0EF",
"base-100": "#151726",
info: "#94B8FF",
success: "#33ddbe",
warning: "#f6c33f",
error: "#F87272",
},
"sunset": {
primary: "#EE8679",
secondary: "#F8D2C9",
accent: "#5BA2D0",
neutral: "#DEE0EF",
"base-100": "#151726",
info: "#94B8FF",
success: "#33ddbe",
warning: "#f6c33f",
error: "#F87272",
},
"morning": {
primary: '#D26A5D',
secondary: '#F19A8E',
accent: '#3788BE',
neutral: '#4E5377',
'base-100': '#FDFDFE',
info: '#7397DE',
success: '#33ddbe',
warning: '#f6c33f',
error: '#F87272',
}
},
"light", "dark", "cupcake", "bumblebee", "emerald", "corporate", "synthwave", "retro", "cyberpunk", "valentine", "halloween", "garden", "forest", "aqua", "lofi", "pastel", "fantasy", "wireframe", "black", "luxury", "dracula", "cmyk", "autumn", "business", "acid", "lemonade", "night", "coffee", "winter"
]
}
}