.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); }