Merge pull request #33081 from backstage/ui/searchfield-textfield-bg-focus

feat(ui): bg-context support and focus ring for SearchField and TextField
This commit is contained in:
Charles de Dreuille
2026-03-03 15:56:01 +00:00
committed by GitHub
11 changed files with 140 additions and 13 deletions
@@ -0,0 +1,7 @@
---
'@backstage/ui': patch
---
`SearchField` and `TextField` now automatically adapt their background color based on the parent bg context, stepping up one neutral level (e.g. neutral-1 → neutral-2) when placed on a neutral background. `TextField` also gains a focus ring using the `--bui-ring` token.
**Affected components:** SearchField, TextField