fix: eliminate deprecated cyan, glass-border, and off-palette colors site-wide
- Replace all rgba(6,182,212,...) cyan focus borders and accents with rgba(249,115,22,...) ember orange across 21+ component files - Remove all var(--glass-border) references (undefined variable) with var(--color-border-default) across 24 files - Remove deprecated blur orbs and glass-morphism effects from SurveyPage, SurveyThankYouPage, and LoginPage - Migrate landing.css from hardcoded hex to CSS custom properties (~97 replacements for single-source theming) - Fix off-palette grays in FlowPilotAnalyticsPage chart styling (#8891a0 → #848b9b, #18191f → var(--color-bg-card)) - Update stale comments: "cyan brand" → "accent brand" in GlowEdge, "gradient cyan square" → "gradient orange square" in BrandLogo - Rename glow-cyan SVG filter ID to glow-accent - Fix category color comment: "cyan" → "deep orange" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -256,16 +256,16 @@ export default function FlowPilotAnalyticsPage() {
|
||||
<CartesianGrid strokeDasharray="3 3" stroke="rgba(255,255,255,0.06)" />
|
||||
<XAxis
|
||||
dataKey="date"
|
||||
tick={{ fill: '#8891a0', fontSize: 10 }}
|
||||
tick={{ fill: '#848b9b', fontSize: 10 }}
|
||||
tickFormatter={(d) => new Date(d).toLocaleDateString([], { month: 'short', day: 'numeric' })}
|
||||
/>
|
||||
<YAxis
|
||||
tick={{ fill: '#8891a0', fontSize: 10 }}
|
||||
tick={{ fill: '#848b9b', fontSize: 10 }}
|
||||
tickFormatter={(v) => `${Math.round(v)}m`}
|
||||
/>
|
||||
<Tooltip
|
||||
contentStyle={{ background: '#18191f', border: '1px solid rgba(255,255,255,0.06)', borderRadius: 8, fontSize: 12 }}
|
||||
labelStyle={{ color: '#f8fafc' }}
|
||||
contentStyle={{ background: 'var(--color-bg-card)', border: '1px solid rgba(255,255,255,0.06)', borderRadius: 8, fontSize: 12 }}
|
||||
labelStyle={{ color: '#f0f2f5' }}
|
||||
formatter={(v: number | undefined) => [`${Math.round(v ?? 0)}m`, 'MTTR']}
|
||||
/>
|
||||
<Area
|
||||
@@ -299,16 +299,16 @@ export default function FlowPilotAnalyticsPage() {
|
||||
<ResponsiveContainer width="100%" height={220}>
|
||||
<BarChart data={dashboard.sessions_by_domain} layout="vertical">
|
||||
<CartesianGrid strokeDasharray="3 3" stroke="rgba(255,255,255,0.06)" />
|
||||
<XAxis type="number" tick={{ fill: '#8891a0', fontSize: 10 }} />
|
||||
<XAxis type="number" tick={{ fill: '#848b9b', fontSize: 10 }} />
|
||||
<YAxis
|
||||
type="category"
|
||||
dataKey="domain"
|
||||
tick={{ fill: '#8891a0', fontSize: 10 }}
|
||||
tick={{ fill: '#848b9b', fontSize: 10 }}
|
||||
width={100}
|
||||
/>
|
||||
<Tooltip
|
||||
contentStyle={{ background: '#18191f', border: '1px solid rgba(255,255,255,0.06)', borderRadius: 8, fontSize: 12 }}
|
||||
labelStyle={{ color: '#f8fafc' }}
|
||||
contentStyle={{ background: 'var(--color-bg-card)', border: '1px solid rgba(255,255,255,0.06)', borderRadius: 8, fontSize: 12 }}
|
||||
labelStyle={{ color: '#f0f2f5' }}
|
||||
/>
|
||||
<Bar dataKey="resolved" name="Resolved" fill="#34d399" radius={[0, 4, 4, 0]} />
|
||||
<Bar dataKey="escalated" name="Escalated" fill="#eab308" radius={[0, 4, 4, 0]} />
|
||||
|
||||
Reference in New Issue
Block a user