Files
deepdrft/DeepDrftPublic.Client/Controls/PlayStateIcon.razor.css
T
daniel-c-harvey 03fdcda054 style: theme-aware token pass for dark-mode surfaces (Phase 18)
Re-point neutral page surfaces, play-chip, and default popover from constant brand tokens to theme-aware aliases defined twice in deepdrft-tokens.css. Decorative navy/green sections and bespoke dark-glass panels untouched. Appbar-navy symptom deferred (palette C#, out of CSS scope).
2026-06-19 18:12:35 -04:00

23 lines
905 B
CSS

.icon-container {
display: flex;
justify-content: center;
align-content: center;
background-color: var(--deepdrft-play-chip);
border-radius: 50%;
height: 60px;
width: 60px;
transition: background-color 1s ease-in-out;
}
.icon-container:hover {
background-color: color-mix(in srgb, var(--deepdrft-play-chip), var(--deepdrft-navy-mid) 25%);
}
/* The glyph reads against the chip, not the page: in dark mode the chip is moss-green
and the MudIconButton's Color.Primary green glyph would vanish, so pin the glyph to the
theme-aware --deepdrft-play-glyph (navy on the green dark chip; unchanged in light, where
the token resolves to navy over the soft-grey chip). ::deep reaches the portaled-in-scope
MudIconButton icon, which doesn't carry this component's scope attribute. */
.icon-container ::deep .mud-icon-button {
color: var(--deepdrft-play-glyph);
}