PlainSQL / frontend /tailwind.config.js
LalitChaudhari3's picture
feat: synchronize text-to-sql-bot codebase with Hugging Face Space repository, including Docker build configurations
6086e71
Raw
History Blame Contribute Delete
2.62 kB
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,jsx}'],
theme: {
extend: {
colors: {
space: '#060912',
navy: '#0a0f1e',
'surface-1': 'rgba(255,255,255,0.04)',
'surface-2': 'rgba(255,255,255,0.07)',
'border-dim': 'rgba(255,255,255,0.07)',
'border-bright': 'rgba(255,255,255,0.14)',
primary: {
DEFAULT: '#6366f1',
dim: 'rgba(99,102,241,0.15)',
glow: 'rgba(99,102,241,0.35)',
},
accent: {
DEFAULT: '#06b6d4',
dim: 'rgba(6,182,212,0.15)',
glow: 'rgba(6,182,212,0.35)',
},
success: '#34d399',
warning: '#fbbf24',
danger: '#f87171',
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
mono: ['"JetBrains Mono"', 'monospace'],
},
animation: {
'pulse-glow': 'pulseGlow 2.5s ease-in-out infinite',
'float': 'float 6s ease-in-out infinite',
'shimmer': 'shimmer 2s linear infinite',
'fade-up': 'fadeUp 0.4s ease both',
'scan-line': 'scanLine 4s linear infinite',
'typing': 'typing 1.2s steps(3) infinite',
},
keyframes: {
pulseGlow: {
'0%,100%': { boxShadow: '0 0 20px rgba(99,102,241,0.25)' },
'50%': { boxShadow: '0 0 50px rgba(99,102,241,0.55), 0 0 80px rgba(6,182,212,0.2)' },
},
float: {
'0%,100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-8px)' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
fadeUp: {
from: { opacity: 0, transform: 'translateY(12px)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
scanLine: {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(200vh)' },
},
typing: {
'0%': { content: '""' },
'33%': { content: '"."' },
'66%': { content: '".."' },
'100%': { content: '"..."' },
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'grid-pattern': "url(\"data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v1H0zM0 0v40h1V0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")",
},
},
},
plugins: [],
}