fix: scope play-glyph override to dark mode, fix connect-option hover, tokenize bio placeholder, correct popover comment
This commit is contained in:
@@ -13,11 +13,13 @@
|
||||
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 {
|
||||
/* In dark mode the chip is moss-green and MudIconButton's Color.Primary/Secondary green
|
||||
glyph would vanish against it, so pin the glyph to --deepdrft-play-glyph (navy) in dark
|
||||
only. In light mode the token also resolves to navy, but applying it there overrides
|
||||
Color.Secondary (green-accent) on hero/row mounts — a visible regression. Scoping to
|
||||
.deepdrft-theme-dark preserves the MudBlazor Color prop in light and fixes only dark.
|
||||
::deep reaches the portaled-in-scope MudIconButton icon, which doesn't carry this
|
||||
component's scope attribute. */
|
||||
.deepdrft-theme-dark .icon-container ::deep .mud-icon-button {
|
||||
color: var(--deepdrft-play-glyph);
|
||||
}
|
||||
@@ -279,14 +279,15 @@
|
||||
}
|
||||
|
||||
/* Graceful-degrade slot shown until a portrait file lands. A flat tonal panel in
|
||||
the navy family, matching the circular portrait frame. */
|
||||
the navy family, matching the circular portrait frame. Mixes a touch of navy into
|
||||
--deepdrft-page-surface so the gradient inverts with the section in dark mode. */
|
||||
.bio-portrait-placeholder {
|
||||
width: 100%;
|
||||
aspect-ratio: 1 / 1;
|
||||
background:
|
||||
linear-gradient(160deg,
|
||||
color-mix(in srgb, var(--deepdrft-navy) 8%, var(--deepdrft-white)) 0%,
|
||||
color-mix(in srgb, var(--deepdrft-navy) 16%, var(--deepdrft-white)) 100%);
|
||||
color-mix(in srgb, var(--deepdrft-navy) 8%, var(--deepdrft-page-surface)) 0%,
|
||||
color-mix(in srgb, var(--deepdrft-navy) 16%, var(--deepdrft-page-surface)) 100%);
|
||||
}
|
||||
|
||||
/* The marginalia caption — mono, sits directly under the framed portrait. */
|
||||
|
||||
@@ -417,7 +417,7 @@
|
||||
|
||||
.connect-option:hover {
|
||||
border-color: var(--deepdrft-green-accent);
|
||||
background: #f3f6f4;
|
||||
background: color-mix(in srgb, var(--deepdrft-page-surface), var(--deepdrft-green-accent) 8%);
|
||||
}
|
||||
|
||||
.option-icon {
|
||||
|
||||
Reference in New Issue
Block a user