Files
fusion/packages/dashboard/app/components/command-center/DateRangePicker.css
gsxdsm 5c0c162a2b FN-6609: fix command center CSS token hygiene
Command Center styles now rely on canonical muted text and shadow tokens.

- Replace deprecated --text-secondary usages in command center styles with --text-muted.
- Remove the raw rgba fallback from the date range popover shadow token.
- Document the command-center styling token requirements with FNXC comments.

Files changed:
 .../app/components/command-center/CommandCenter.css   | 13 +++++++++----
 .../app/components/command-center/DateRangePicker.css |  8 ++++++--
 .../components/command-center/MissionControlPanel.css | 11 ++++++++---
 .../app/components/command-center/areas/areas.css     | 19 ++++++++++++-------
 .../app/components/command-center/charts/charts.css   | 11 ++++++++---
 5 files changed, 43 insertions(+), 19 deletions(-)

Fusion-Task-Id: FN-6609
Fusion-Task-Lineage: 8a02f4a3-a881-4db6-893e-363b74cbfba8
2026-06-17 18:54:24 -07:00

60 lines
1.5 KiB
CSS

.cc-date-range {
position: relative;
display: inline-block;
}
.cc-date-range-trigger {
display: inline-flex;
align-items: center;
gap: var(--space-1, 0.25rem);
}
/*
FNXC:CommandCenterStyling 2026-06-17-18:44:
The FN-4286 text-token and component-css hygiene guards require canonical dashboard tokens here: use --shadow-md without a raw rgba fallback and --text-muted instead of the deprecated secondary text token.
*/
.cc-date-range-popover {
position: absolute;
top: calc(100% + var(--space-1, 0.25rem));
right: 0;
z-index: 20;
min-width: 16rem;
padding: var(--space-3, 0.75rem);
background: var(--surface-1, #1c1c1c);
border: 1px solid var(--border-subtle, rgba(127, 127, 127, 0.25));
border-radius: var(--radius-md, 8px);
box-shadow: var(--shadow-md);
display: flex;
flex-direction: column;
gap: var(--space-3, 0.75rem);
}
.cc-date-range-presets {
display: flex;
flex-wrap: wrap;
gap: var(--space-2, 0.5rem);
}
.cc-date-range-custom {
display: flex;
flex-direction: column;
gap: var(--space-2, 0.5rem);
}
.cc-date-range-field {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-2, 0.5rem);
font-size: var(--font-size-sm, 0.85rem);
color: var(--text-muted);
}
.cc-date-range-field input {
background: var(--surface-2, rgba(127, 127, 127, 0.12));
border: 1px solid var(--border-subtle, rgba(127, 127, 127, 0.25));
border-radius: var(--radius-sm, 4px);
color: var(--text-primary, #ddd);
padding: var(--space-1, 0.25rem) var(--space-2, 0.5rem);
}