forked from kunal-10-cloud/e-commerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
92 lines (92 loc) · 2.42 KB
/
tailwind.config.js
File metadata and controls
92 lines (92 loc) · 2.42 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
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#6D28D9',
50: '#F5F3FF',
100: '#EDE9FE',
200: '#DDD6FE',
300: '#C4B5FD',
400: '#A78BFA',
500: '#8B5CF6',
600: '#7C3AED',
700: '#6D28D9',
800: '#5B21B6',
900: '#4C1D95',
950: '#2E1065',
},
dark: {
50: '#f7f7f7',
100: '#e3e3e3',
200: '#c8c8c8',
300: '#a4a4a4',
400: '#818181',
500: '#666666',
600: '#515151',
700: '#434343',
800: '#1e1e1e',
900: '#121212',
950: '#0a0a0a',
},
},
fontFamily: {
sans: ['Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
},
animation: {
'fade-in-out': 'fadeInOut 1.5s ease-in-out',
'slide-up': 'slideUp 0.3s ease-out',
'slide-down': 'slideDown 0.3s ease-out',
},
keyframes: {
fadeInOut: {
'0%': { opacity: 0, transform: 'translateY(-10px)' },
'20%': { opacity: 1, transform: 'translateY(0)' },
'80%': { opacity: 1, transform: 'translateY(0)' },
'100%': { opacity: 0, transform: 'translateY(-10px)' },
},
slideUp: {
'0%': { opacity: 0, transform: 'translateY(20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
slideDown: {
'0%': { opacity: 0, transform: 'translateY(-20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
},
boxShadow: {
'glow': '0 0 15px rgba(109, 40, 217, 0.3)',
'glow-lg': '0 0 30px rgba(109, 40, 217, 0.5)',
},
},
},
plugins: [
require('daisyui'),
],
daisyui: {
themes: [
{
dark: {
primary: "#6D28D9",
secondary: "#8B5CF6",
accent: "#A78BFA",
neutral: "#1f2937",
"base-100": "#121212",
"base-200": "#1e1e1e",
"base-300": "#2a2a2a",
info: "#3abff8",
success: "#36d399",
warning: "#fbbd23",
error: "#f87272",
},
},
],
darkTheme: "dark",
},
}