Skip to content

Commit 93c451c

Browse files
author
User
committed
chore: update dependencies and configuration
1 parent 6d6d74d commit 93c451c

File tree

1 file changed

+49
-11
lines changed

1 file changed

+49
-11
lines changed

tailwind.config.js

Lines changed: 49 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/** @type {import('tailwindcss').Config} */
2+
const colors = require('tailwindcss/colors');
3+
24
export default {
35
content: [
46
"./index.html",
@@ -8,23 +10,59 @@ export default {
810
theme: {
911
extend: {
1012
colors: {
11-
primary: {
12-
50: '#f0f9ff',
13-
100: '#e0f2fe',
14-
200: '#bae6fd',
15-
300: '#7dd3fc',
16-
400: '#38bdf8',
17-
500: '#0ea5e9',
18-
600: '#0284c7',
19-
700: '#0369a1',
20-
800: '#075985',
21-
900: '#0c4a6e',
13+
// Default theme (blue)
14+
primary: colors.blue,
15+
// Purple theme
16+
purple: colors.purple,
17+
// Green theme
18+
emerald: colors.emerald,
19+
// Rose theme (pink/red)
20+
rose: {
21+
50: '#fff1f2',
22+
100: '#ffe4e6',
23+
200: '#fecdd3',
24+
300: '#fda4af',
25+
400: '#fb7185',
26+
500: '#f43f5e',
27+
600: '#e11d48',
28+
700: '#be123c',
29+
800: '#9f1239',
30+
900: '#881337',
2231
},
2332
},
2433
fontFamily: {
2534
sans: ['Inter', 'sans-serif'],
2635
mono: ['Fira Code', 'monospace'],
2736
},
37+
backgroundImage: theme => ({
38+
'gradient-primary': `linear-gradient(135deg, ${theme('colors.primary.500')} 0%, ${theme('colors.primary.700')} 100%)`,
39+
'gradient-purple': `linear-gradient(135deg, ${theme('colors.purple.500')} 0%, ${theme('colors.purple.700')} 100%)`,
40+
'gradient-emerald': `linear-gradient(135deg, ${theme('colors.emerald.500')} 0%, ${theme('colors.emerald.700')} 100%)`,
41+
'gradient-rose': `linear-gradient(135deg, ${theme('colors.rose.500')} 0%, ${theme('colors.rose.700')} 100%)`,
42+
}),
43+
keyframes: {
44+
'fade-in': {
45+
'0%': { opacity: '0' },
46+
'100%': { opacity: '1' },
47+
},
48+
'slide-up': {
49+
'0%': { transform: 'translateY(10px)', opacity: '0' },
50+
'100%': { transform: 'translateY(0)', opacity: '1' },
51+
},
52+
},
53+
animation: {
54+
'fade-in': 'fade-in 0.2s ease-out',
55+
'slide-up': 'slide-up 0.2s ease-out',
56+
},
57+
boxShadow: {
58+
'theme': '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
59+
'theme-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
60+
},
61+
transitionProperty: {
62+
'width': 'width',
63+
'height': 'height',
64+
'spacing': 'margin, padding',
65+
},
2866
},
2967
},
3068
plugins: [

0 commit comments

Comments
 (0)