Spaces:
Runtime error
Runtime error
File size: 4,336 Bytes
03bd69e 204e35b 03bd69e 204e35b 03bd69e 204e35b 03bd69e 204e35b 03bd69e 204e35b 03bd69e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// Primary brand colors
primary: {
DEFAULT: 'var(--primary-color)',
hover: 'var(--primary-hover)',
light: 'var(--primary-light)',
dark: 'var(--primary-dark)',
},
// Secondary colors
secondary: {
DEFAULT: 'var(--secondary-color)',
hover: 'var(--secondary-hover)',
light: 'var(--secondary-light)',
},
// Text colors
text: {
DEFAULT: 'var(--text-color)',
secondary: 'var(--text-secondary)',
muted: 'var(--text-muted)',
light: 'var(--text-light)',
disabled: 'var(--text-disabled)',
},
// Background colors
background: {
DEFAULT: 'var(--background-primary)',
secondary: 'var(--background-secondary)',
tertiary: 'var(--background-tertiary)',
elevated: 'var(--background-elevated)',
},
// Border colors
border: {
DEFAULT: 'var(--border-color)',
light: 'var(--border-light)',
dark: 'var(--border-dark)',
accent: 'var(--border-accent)',
},
// Status colors
success: {
DEFAULT: 'var(--success-color)',
light: 'var(--success-light)',
},
warning: {
DEFAULT: 'var(--warning-color)',
light: 'var(--warning-light)',
},
error: {
DEFAULT: 'var(--error-color)',
light: 'var(--error-light)',
},
info: {
DEFAULT: 'var(--info-color)',
light: 'var(--info-light)',
},
// Legacy color mappings (for backwards compatibility)
'primary-hover': 'var(--primary-hover)',
'light-text': 'var(--text-light)',
'lightest-text': 'var(--text-disabled)',
'reasoning-bg': 'var(--reasoning-background)',
'user-message-bg': 'var(--user-message-bg)',
'user-message-color': 'var(--user-message-color)',
'assistant-message-bg': 'var(--assistant-message-bg)',
'assistant-message-color': 'var(--assistant-message-color)',
'hover': 'var(--hover-color)',
'active': 'var(--active-color)',
},
spacing: {
'sidebar': 'var(--sidebar-width)',
'header': 'var(--header-height)',
},
borderRadius: {
'DEFAULT': 'var(--border-radius)',
'lg': 'var(--border-radius-lg)',
'xl': 'var(--border-radius-xl)',
},
boxShadow: {
'sm': 'var(--shadow-sm)',
'DEFAULT': 'var(--shadow-md)',
'md': 'var(--shadow-md)',
'lg': 'var(--shadow-lg)',
'xl': 'var(--shadow-xl)',
},
transitionDuration: {
'fast': 'var(--transition-fast)',
'normal': 'var(--transition-normal)',
'slow': 'var(--transition-slow)',
},
animation: {
'blink': 'blink 1s infinite',
'pulse-slow': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fade-in': 'fadeIn 0.5s ease-out',
'slide-up': 'slideUp 0.3s ease-out',
'scale-in': 'scaleIn 0.2s ease-out',
},
keyframes: {
blink: {
'0%, 100%': { opacity: 1 },
'50%': { opacity: 0 },
},
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
slideUp: {
'0%': { transform: 'translateY(10px)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 },
},
scaleIn: {
'0%': { transform: 'scale(0.95)', opacity: 0 },
'100%': { transform: 'scale(1)', opacity: 1 },
},
},
fontFamily: {
'sans': ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
},
fontSize: {
'xs': ['0.75rem', { lineHeight: '1rem' }],
'sm': ['0.875rem', { lineHeight: '1.25rem' }],
'base': ['1rem', { lineHeight: '1.5rem' }],
'lg': ['1.125rem', { lineHeight: '1.75rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
},
},
},
plugins: [],
}
|