Skip to content

feat(search-bar): paprika focus-within border + deeper bg - #449

Open
laichunpongben wants to merge 1 commit into
mainfrom
feat/search-bar-focus-ring
Open

feat(search-bar): paprika focus-within border + deeper bg#449
laichunpongben wants to merge 1 commit into
mainfrom
feat/search-bar-focus-ring

Conversation

@laichunpongben

Copy link
Copy Markdown
Owner

Adds a focus-within state to .search-bar: paprika border + slightly deeper background opacity (0.85 -> 0.95). Reads as "this surface is active" when the input is focused.

Distinct from the :focus-visible outline (still applies to the input itself for WCAG accessibility). The bar-level state is the visual frame.

Files:

  • src/components/SearchBar.astro (+5 / 0)

Generated with Claude Code

Adds a focus-within state to .search-bar: paprika border + slightly deeper background opacity (0.85 -> 0.95). Reads as "this surface is active" when the input is focused.

Distinct from the default :focus-visible outline (which still applies to the input element itself for keyboard accessibility). The bar-level state is the visual frame; the input-level state is the WCAG indicator.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant