fix(ui): use correct dark theme selector in Dialog (#33898)
* fix(ui): use correct dark theme selector in Dialog The Dialog component used [data-theme='dark'] while every other BUI component and the global token system uses [data-theme-mode='dark']. This mismatch meant the dark mode background rule never matched. Signed-off-by: David Josefson <david.josefson@neo4j.com> * Update .changeset/fix-dialog-dark-theme-selector.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: David Josefson <david.josefson@neo4j.com> --------- Signed-off-by: David Josefson <david.josefson@neo4j.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/ui': patch
|
||||
---
|
||||
|
||||
Fixed dark mode background for Dialog component by correcting the theme attribute selector from `data-theme` to `data-theme-mode`.
|
||||
|
||||
**Affected components:** Dialog
|
||||
Reference in New Issue
Block a user