Merge pull request #33363 from shivamtiwari3/fix/table-replace-removed-bui-bg-tint-tokens

Fix: replace removed --bui-bg-tint tokens in Table component (fixes #33292)
This commit is contained in:
Charles de Dreuille
2026-03-17 07:16:14 +00:00
committed by GitHub
2 changed files with 9 additions and 4 deletions
@@ -0,0 +1,5 @@
---
'@backstage/ui': patch
---
Fixed Table component to use current `--bui-bg-neutral-1` tokens instead of the removed `--bui-bg-tint` tokens, restoring row hover, selected, pressed, and disabled background colors.
@@ -94,15 +94,15 @@
cursor: default;
&:hover {
background-color: var(--bui-bg-tint-hover);
background-color: var(--bui-bg-neutral-1-hover);
}
&[data-selected] {
background-color: var(--bui-bg-tint-pressed);
background-color: var(--bui-bg-neutral-1-pressed);
}
&[data-pressed] {
background-color: var(--bui-bg-tint-pressed);
background-color: var(--bui-bg-neutral-1-pressed);
}
&[data-href],
@@ -112,7 +112,7 @@
}
&[data-disabled] {
background-color: var(--bui-bg-tint-disabled);
background-color: var(--bui-bg-neutral-1-disabled);
cursor: not-allowed;
}
}