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%);
|
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
|
/* In dark mode the chip is moss-green and MudIconButton's Color.Primary/Secondary green
|
||||||
and the MudIconButton's Color.Primary green glyph would vanish, so pin the glyph to the
|
glyph would vanish against it, so pin the glyph to --deepdrft-play-glyph (navy) in dark
|
||||||
theme-aware --deepdrft-play-glyph (navy on the green dark chip; unchanged in light, where
|
only. In light mode the token also resolves to navy, but applying it there overrides
|
||||||
the token resolves to navy over the soft-grey chip). ::deep reaches the portaled-in-scope
|
Color.Secondary (green-accent) on hero/row mounts — a visible regression. Scoping to
|
||||||
MudIconButton icon, which doesn't carry this component's scope attribute. */
|
.deepdrft-theme-dark preserves the MudBlazor Color prop in light and fixes only dark.
|
||||||
.icon-container ::deep .mud-icon-button {
|
::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);
|
color: var(--deepdrft-play-glyph);
|
||||||
}
|
}
|
||||||
@@ -279,14 +279,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Graceful-degrade slot shown until a portrait file lands. A flat tonal panel in
|
/* 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 {
|
.bio-portrait-placeholder {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
background:
|
background:
|
||||||
linear-gradient(160deg,
|
linear-gradient(160deg,
|
||||||
color-mix(in srgb, var(--deepdrft-navy) 8%, var(--deepdrft-white)) 0%,
|
color-mix(in srgb, var(--deepdrft-navy) 8%, var(--deepdrft-page-surface)) 0%,
|
||||||
color-mix(in srgb, var(--deepdrft-navy) 16%, var(--deepdrft-white)) 100%);
|
color-mix(in srgb, var(--deepdrft-navy) 16%, var(--deepdrft-page-surface)) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The marginalia caption — mono, sits directly under the framed portrait. */
|
/* The marginalia caption — mono, sits directly under the framed portrait. */
|
||||||
|
|||||||
@@ -417,7 +417,7 @@
|
|||||||
|
|
||||||
.connect-option:hover {
|
.connect-option:hover {
|
||||||
border-color: var(--deepdrft-green-accent);
|
border-color: var(--deepdrft-green-accent);
|
||||||
background: #f3f6f4;
|
background: color-mix(in srgb, var(--deepdrft-page-surface), var(--deepdrft-green-accent) 8%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.option-icon {
|
.option-icon {
|
||||||
|
|||||||
@@ -358,16 +358,17 @@ h2, h3, h4, h5, h6,
|
|||||||
font-family: var(--deepdrft-font-mono) !important;
|
font-family: var(--deepdrft-font-mono) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Default MudBlazor popover surface (Phase 18, T4 — symptom #1). Selects, menus, tooltips, and
|
/* Default MudBlazor popover surface (Phase 18, T4 — symptom #1). Selects, menus, and the
|
||||||
the share-popover body render inside .mud-popover. Their visible surface is the inner .mud-paper,
|
share-popover body render inside .mud-popover. (Tooltips are NOT covered here — MudBlazor
|
||||||
which paints background-color: var(--mud-palette-surface). Inspection settled the root cause: the
|
tooltips paint from --mud-palette-text, not the popover surface.) Their visible surface is the
|
||||||
"too dark" is NOT --deepdrft-panel-ground leakage (the bespoke dark-glass panels are MudOverlay
|
inner .mud-paper, which paints background-color: var(--mud-palette-surface). Inspection settled
|
||||||
.mud-overlay-content surfaces and never match .mud-popover) — it is simply that the popover surface
|
the root cause: the "too dark" is NOT --deepdrft-panel-ground leakage (the bespoke dark-glass
|
||||||
tracks --mud-palette-surface with no desaturated-navy treatment. So re-point --mud-palette-surface
|
panels are MudOverlay .mud-overlay-content surfaces and never match .mud-popover) — it is simply
|
||||||
to the theme-aware --deepdrft-popover-surface *within the popover scope only*: a soft desaturated-navy
|
that the popover surface tracks --mud-palette-surface with no desaturated-navy treatment. So
|
||||||
wash in light, the existing panel-ground charcoal in dark. Scoping the variable (not a flat
|
re-point --mud-palette-surface to the theme-aware --deepdrft-popover-surface *within the popover
|
||||||
background) means any inner .mud-paper, .mud-list, or menu picks it up for free, while the global
|
scope only*: a soft desaturated-navy wash in light, the existing panel-ground charcoal in dark.
|
||||||
surface used elsewhere on the page is unaffected. */
|
Scoping the variable (not a flat background) means any inner .mud-paper, .mud-list, or menu picks
|
||||||
|
it up for free, while the global surface used elsewhere on the page is unaffected. */
|
||||||
.mud-popover {
|
.mud-popover {
|
||||||
--mud-palette-surface: var(--deepdrft-popover-surface);
|
--mud-palette-surface: var(--deepdrft-popover-surface);
|
||||||
background-color: var(--deepdrft-popover-surface);
|
background-color: var(--deepdrft-popover-surface);
|
||||||
|
|||||||
Reference in New Issue
Block a user