Files
pwa/tailwind.config.js
T
ar.badieiandCursor 8016b8f45e Polish Novya UI with brand colors, first-load skeletons, and session transition overlay.
Keep chat pinned to the latest message while AI thinks or streams, and align buttons/inputs with the logo teal/blue focus treatment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 01:31:24 +03:30

83 lines
2.4 KiB
JavaScript

import defaultTheme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['IRANSansX', 'Tahoma', ...defaultTheme.fontFamily.sans],
},
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: '#00a8e8',
cyan: '#26d4ca',
teal: '#26d4ca',
emerald: '#10b981',
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
boxShadow: {
glow: '0 0 18px rgba(0, 168, 232, 0.4), 0 0 36px rgba(38, 212, 202, 0.2)',
'glow-teal': '0 0 18px rgba(38, 212, 202, 0.5), 0 0 36px rgba(38, 212, 202, 0.22)',
'glow-sm': '0 0 12px rgba(38, 212, 202, 0.4)',
},
backgroundImage: {
'neon-gradient': 'linear-gradient(135deg, #26d4ca 0%, #14c4db 48%, #00a8e8 100%)',
},
keyframes: {
'pulse-glow': {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.55' },
},
},
animation: {
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
},
},
},
plugins: [require('tailwindcss-animate')],
};