Skip to content

fix(aws-lambda): Style layer selects for dark mode - #20337

Open
tlq5l wants to merge 3 commits into
getsentry:masterfrom
tlq5l:fix/aws-lambda-layer-select-dark-mode
Open

tlq5l wants to merge 3 commits into
getsentry:masterfrom
tlq5l:fix/aws-lambda-layer-select-dark-mode

Conversation

@tlq5l

@tlq5l tlq5l commented Oct 30, 2026

Copy link
Copy Markdown

DESCRIBE YOUR PR

Fixes #13907

The Region, Runtime and SDK version pickers on the AWS Lambda layer pages use react-select, whose defaults are light: white control and menu backgrounds and dark text (theme.ts#L12-L21, Control.tsx#L55, Menu.tsx#L297, SingleValue.tsx#L46). Previously, SelectionField in src/components/lambdaLayerDetailClient.tsx (lines 287-294 at 67a59cd) had no dark-mode rules, so the control and menu stayed white in dark mode.

The three selects now get a classNamePrefix. SelectionField styles them under .dark with the Radix variables the version selector already uses, so light mode is unchanged. Styling only.

Ran live: on 29f9c03, next dev + headless Chromium on /platforms/javascript/guides/aws-lambda/install/layer/ -> dark: control rgba(244, 244, 243, 0.035) (was white), menu rgb(25, 25, 24) with light text, hovered option highlighted, picking us-east-1 shows the us-east-1 ARN; light: control still rgb(255, 255, 255).

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

🤖 Generated with Claude Code

tlq5l and others added 3 commits October 22, 2026 06:55
Fixes getsentry#13907

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…t CSS

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

@tlq5l is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@codeowner-assignment
codeowner-assignment Bot requested a review from a team October 30, 2026 04:37
@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Oct 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS ARN region selector white background in dark mode

1 participant