Who's that Pokémon?: accent-tinted spotlight instead of the white panel
The near-white stage was too bright. Swap it for a radial gradient off var(--accent): a pale centre (accent mixed 35% white) for the silhouette to read against, through the full accent colour, to a soft dark rim. Adapts to the chosen accent and works in every theme. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017Ve7HLspzeG2xDPtJQ8vmu
This commit is contained in:
parent
a57e516f16
commit
6c6158ad5e
@ -3760,17 +3760,21 @@
|
|||||||
color: var(--text-dim);
|
color: var(--text-dim);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
/* A bright "TV screen" so the black silhouette reads in any theme. */
|
/* Accent-tinted spotlight: a pale centre for the silhouette to read
|
||||||
|
against, fading out to the full accent colour and a soft dark rim. */
|
||||||
.wtp__stage {
|
.wtp__stage {
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: var(--radius-lg);
|
border-radius: var(--radius-lg);
|
||||||
background:
|
background: radial-gradient(
|
||||||
radial-gradient(70% 60% at 50% 38%, #ffffff, transparent 75%),
|
circle at 50% 46%,
|
||||||
linear-gradient(165deg, #cfe7ff 0%, #eaf4ff 55%, #f6fbff 100%);
|
color-mix(in srgb, var(--accent) 35%, #fff) 0%,
|
||||||
border: 1px solid rgba(0, 0, 0, 0.12);
|
color-mix(in srgb, var(--accent) 88%, #fff) 42%,
|
||||||
box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5);
|
var(--accent) 68%,
|
||||||
|
color-mix(in srgb, var(--accent) 78%, #000) 100%
|
||||||
|
);
|
||||||
|
border: 1px solid color-mix(in srgb, var(--accent) 60%, #000);
|
||||||
}
|
}
|
||||||
.wtp__art {
|
.wtp__art {
|
||||||
width: 260px;
|
width: 260px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user