-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (66 loc) · 2.57 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
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
animation: {
tilt: 'tilt 10s infinite linear'
},
keyframes: {
tilt: {
"0%, 50%, 100%": {
transform: "rotate(0deg)",
},
"25%": {
transform: "rotate(1deg)",
},
"75%": {
transform: "rotate(-1deg)",
}
}
}
},
},
daisyui: {
themes: [
{
sendwich: {
"primary": "#abfce4",
"secondary": "#51db83",
"accent": "#e0ed84",
"neutral": "#242D42",
"base-100": "#324667",
"info": "#6682EB",
"success": "#62EA9F",
"warning": "#FAD233",
"error": "#FB0931",
"--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
},
},
"cupcake",
],
},
plugins: [
require('@tailwindcss/forms'),
require('daisyui')
],
};