heatmap / tailwind.config.js
Dhiman-07-cyber's picture
Major overhaul....
aed23a5
Raw
History Blame Contribute Delete
3.83 kB
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./frontend/index.html',
'./frontend/dashboard.html',
'./frontend/heatmap.html',
'./frontend/assets/js/**/*.js'
],
theme: {
extend: {
colors: {
saffron: {
50: '#fff7ed',
100: '#ffedd5',
200: '#fed7aa',
300: '#fdba74',
400: '#fb923c',
500: '#FF9933', // Actual Indian flag saffron
600: '#ea580c',
700: '#c2410c',
800: '#9a3412',
900: '#7c2d12',
950: '#431407',
},
'india-green': {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#138808', // Actual Indian flag green
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
950: '#052e16',
},
'ashoka-blue': {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#000080', // Actual Indian flag navy blue
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
950: '#172554',
},
},
boxShadow: {
'soft': '0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.06)',
'card': '0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.06)',
'premium': '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05)',
},
animation: {
'fade-in-up': 'fadeInUp 0.6s ease-out forwards',
'fade-in': 'fadeIn 0.5s ease-out forwards',
'pulse-soft': 'pulseSoft 2s ease-in-out infinite',
'premium-fade': 'premiumFade 8s ease-in-out infinite alternate',
float: 'float 3s ease-in-out infinite',
blink: 'blink 1s step-end infinite',
'bounce-scroll': 'bounceScroll 4s ease-in-out infinite',
},
keyframes: {
bounceScroll: {
'0%, 15%, 100%': { transform: 'translateY(0)' },
'7.5%': { transform: 'translateY(-12px)' },
},
premiumFade: {
'0%': { opacity: '0.6' },
'100%': { opacity: '1' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(100vh) scale(0.1)', borderRadius: '10rem' },
'70%': { opacity: '1', transform: 'translateY(-20px) scale(1.02)' },
'100%': { opacity: '1', transform: 'translateY(0) scale(1)', borderRadius: '2.5rem' },
},
fadeOutDown: {
'0%': { opacity: '1', transform: 'translateY(0) scale(1)', borderRadius: '2.5rem' },
'100%': { opacity: '0', transform: 'translateY(100vh) scale(0.1)', borderRadius: '10rem' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
pulseSoft: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.7' },
},
float: {
'0%, 100%': { transform: 'translateY(0) scale(1) rotate(0deg)' },
'50%': { transform: 'translateY(-20px) scale(1.05) rotate(1deg)' },
},
blink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
},
toastInRight: {
'0%': { opacity: '0', transform: 'translateX(100%)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
toastOutRight: {
'0%': { opacity: '1', transform: 'translateX(0)' },
'100%': { opacity: '0', transform: 'translateX(100%)' },
},
},
},
},
plugins: [],
}