Extracted from ardenone-cluster/containers/zai-proxy and ardenone-cluster/containers/zai-proxy-dashboard. - proxy/: OpenAI-compatible ZAI reverse proxy (Go, v1.10.0) - Token counting, rate limiting, Prometheus metrics, canary support - dashboard/: Metrics dashboard backend + React frontend (Go, v1.0.0) - Prometheus collector, SQLite storage, SSE live updates - docs/: Operational notes, research, and plan subdirs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
724 B
JavaScript
29 lines
724 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
// Custom colors for dashboard
|
|
'success': '#22c55e',
|
|
'warning': '#eab308',
|
|
'error': '#ef4444',
|
|
'info': '#3b82f6',
|
|
'chart-1': '#3b82f6', // Blue
|
|
'chart-2': '#8b5cf6', // Purple
|
|
'chart-3': '#06b6d4', // Cyan
|
|
'chart-4': '#f59e0b', // Amber
|
|
'chart-5': '#ef4444', // Red
|
|
'chart-6': '#22c55e', // Green
|
|
},
|
|
animation: {
|
|
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|