mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-08 01:43:55 +00:00
fix: reduce masthead rail opacity to match login page pattern
Changed all MastheadRail background classes from 100% to 70% opacity (bg-brand → bg-brand/70, etc.) so the shimmer highlight reads as a surface reflection rather than a detached floating bar. Matches the AuthCanvas login card precedent.
This commit is contained in:
@@ -20,19 +20,19 @@ const healthConfig: Record<HealthLevel, { label: string; textClass: string; rail
|
||||
healthy: {
|
||||
label: 'Healthy',
|
||||
textClass: 'text-stat-value',
|
||||
railClass: 'bg-brand',
|
||||
railClass: 'bg-brand/70',
|
||||
tintClass: 'from-brand/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
degraded: {
|
||||
label: 'Degraded',
|
||||
textClass: 'text-warning',
|
||||
railClass: 'bg-warning',
|
||||
railClass: 'bg-warning/70',
|
||||
tintClass: 'from-warning/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
critical: {
|
||||
label: 'Critical',
|
||||
textClass: 'text-destructive',
|
||||
railClass: 'bg-destructive',
|
||||
railClass: 'bg-destructive/70',
|
||||
tintClass: 'from-destructive/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -42,19 +42,19 @@ const healthConfig: Record<FleetHealth, { label: string; textClass: string; rail
|
||||
healthy: {
|
||||
label: 'The fleet',
|
||||
textClass: 'text-stat-value',
|
||||
railClass: 'bg-brand',
|
||||
railClass: 'bg-brand/70',
|
||||
tintClass: 'from-brand/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
degraded: {
|
||||
label: 'The fleet',
|
||||
textClass: 'text-warning',
|
||||
railClass: 'bg-warning',
|
||||
railClass: 'bg-warning/70',
|
||||
tintClass: 'from-warning/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
critical: {
|
||||
label: 'The fleet',
|
||||
textClass: 'text-destructive',
|
||||
railClass: 'bg-destructive',
|
||||
railClass: 'bg-destructive/70',
|
||||
tintClass: 'from-destructive/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -36,22 +36,22 @@ const toneConfig: Record<MastheadTone, {
|
||||
tintClass: string;
|
||||
}> = {
|
||||
live: {
|
||||
railClass: 'bg-brand',
|
||||
railClass: 'bg-brand/70',
|
||||
stateTextClass: 'text-stat-value',
|
||||
tintClass: 'from-brand/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
idle: {
|
||||
railClass: 'bg-stat-subtitle',
|
||||
railClass: 'bg-stat-subtitle/70',
|
||||
stateTextClass: 'text-stat-title',
|
||||
tintClass: 'from-transparent via-transparent to-transparent',
|
||||
},
|
||||
warn: {
|
||||
railClass: 'bg-warning',
|
||||
railClass: 'bg-warning/70',
|
||||
stateTextClass: 'text-warning',
|
||||
tintClass: 'from-warning/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
error: {
|
||||
railClass: 'bg-destructive',
|
||||
railClass: 'bg-destructive/70',
|
||||
stateTextClass: 'text-destructive',
|
||||
tintClass: 'from-destructive/[0.06] via-transparent to-transparent',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user