This repository was archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
67 lines (64 loc) · 2.8 KB
/
tailwind.config.js
File metadata and controls
67 lines (64 loc) · 2.8 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/** @type {import('tailwindcss').Config} */
const { fontFamily } = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: ['class', '[data-theme="dark"]'],
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
daisyui: {
themes: [
{
light: {
primary: '#A5C12A',
secondary: '#ff0000',
accent: '#0c1012',
neutral: '#ffffff',
'base-100': '#FFFFFF',
success: '#07bc0c',
warning: '#f1c40f',
info: '#0275d8',
error: '#e74c3c',
'--rounded-box': '0.3rem', // border radius rounded-box utility class, used in card and other large boxes
'--rounded-btn': '0.3rem', // 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
},
dark: {
primary: '#A5C12A',
secondary: '#ff0000',
accent: '#d9e5ec',
neutral: '#303236',
'base-100': '#303236',
success: '#07bc0c',
warning: '#f1c40f',
info: '#0275d8',
error: '#e74c3c',
text: '#ffffff',
'--rounded-box': '0.3rem', // border radius rounded-box utility class, used in card and other large boxes
'--rounded-btn': '0.3rem', // 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
},
},
],
},
theme: {
fontFamily: {
sans: ['var(--montserrat-font)', ...fontFamily.sans],
},
},
plugins: [require('daisyui')],
};