Files
pwa/tailwind.config.js
T

83 lines
2.4 KiB
JavaScript
Raw Normal View History

2026-01-05 14:59:18 +03:30
import defaultTheme from 'tailwindcss/defaultTheme';
2025-11-18 20:22:25 +03:30
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
2025-11-18 20:22:25 +03:30
theme: {
extend: {
2026-01-05 14:59:18 +03:30
fontFamily: {
sans: ['Vazirmatn', 'Shabnam', 'Tahoma', ...defaultTheme.fontFamily.sans],
2026-01-05 14:59:18 +03:30
},
2025-11-18 20:22:25 +03:30
colors: {
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
navy: {
DEFAULT: '#0a0f1d',
deep: '#070a14',
},
neon: {
blue: '#0066ff',
cyan: '#00d2ff',
teal: '#00ffcc',
emerald: '#10b981',
},
2025-11-18 20:22:25 +03:30
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
boxShadow: {
glow: '0 0 20px rgba(0, 102, 255, 0.35), 0 0 40px rgba(0, 210, 255, 0.15)',
'glow-teal': '0 0 20px rgba(0, 255, 204, 0.3), 0 0 40px rgba(16, 185, 129, 0.15)',
'glow-sm': '0 0 12px rgba(0, 210, 255, 0.25)',
},
backgroundImage: {
'neon-gradient': 'linear-gradient(135deg, #0066ff 0%, #00d2ff 50%, #00ffcc 100%)',
},
keyframes: {
'pulse-glow': {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.55' },
},
},
animation: {
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
},
2025-11-18 20:22:25 +03:30
},
},
plugins: [require('tailwindcss-animate')],
};