Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ConnectCallout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const LINES = {
/* The sponsor-tint register: accent at a whisper over surface, not a fill. Kept flat
(no gradient) so it never competes with PluginSubmitCTA, which is the louder invite
and owns the gradient. `color-mix` keeps both themes correct from one declaration —
in dark, --color-surface is #141417 and the tint stays a tint. */
in dark, --color-surface is near-black and the tint stays a tint. */
background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/SiteHeader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ const utility = [
border-radius: var(--radius-sm);
background: var(--color-surface);
/* the one place the header floats over content — it needs to read as a layer */
box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
box-shadow: var(--shadow-float);
}
.navMore__link {
display: flex;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
--radius-sm: 2px;
--radius-none: 0;
--shadow-none: none;
/* A surface that floats over content (the header's More menu). */
--shadow-float: 0 8px 24px rgb(0 0 0 / 0.12);
}

:root {
Expand Down
Loading