Files
Imago/imago-admin/tailwind.config.ts
bruno 2f2a5e9b4a
CI / Lint & Format (push) Failing after 28s
CI / Tests (push) Has been skipped
CI / Security Scan (push) Failing after 8s
CI / Docker Build (push) Has been skipped
Add admin panel, WebSocket support, and API versioning
Introduce an admin portal (React + Nginx), WebSocket routing, and
API versioning middleware with `/api/v1/` prefix deprecation.
Add master API key authentication, new Prometheus metrics for AI
token consumption and active WebSockets, and extend S3 config
with a public endpoint URL. Update test paths and fixtures to
align with the new routing structure.
2026-06-22 11:25:22 -04:00

76 lines
1.9 KiB
TypeScript

import type { Config } from 'tailwindcss';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
const config: Config = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
brand: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3B82F6',
600: '#2563EB',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
surface: {
DEFAULT: '#0F172A',
raised: '#1E293B',
overlay: '#334155',
},
border: {
DEFAULT: '#334155',
light: '#475569',
},
content: {
primary: '#F1F5F9',
secondary: '#94A3B8',
muted: '#64748B',
},
status: {
ok: '#22C55E',
warning: '#F59E0B',
error: '#EF4444',
pending: '#6366F1',
processing: '#3B82F6',
},
plan: {
free: '#64748B',
standard: '#3B82F6',
premium: '#F59E0B',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
mono: ['JetBrains Mono', 'Fira Code', 'monospace'],
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fade-in': 'fadeIn 0.15s ease-out',
'slide-in': 'slideIn 0.2s ease-out',
'spin-slow': 'spin 2s linear infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideIn: {
'0%': { opacity: '0', transform: 'translateY(-4px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
},
},
plugins: [forms, typography],
};
export default config;