diff --git a/.changeset/fix-table-bui-bg-tint-tokens.md b/.changeset/fix-table-bui-bg-tint-tokens.md new file mode 100644 index 0000000000..f1e3857744 --- /dev/null +++ b/.changeset/fix-table-bui-bg-tint-tokens.md @@ -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. diff --git a/packages/ui/src/components/Table/Table.module.css b/packages/ui/src/components/Table/Table.module.css index 55cf235e56..ccd8b6e47b 100644 --- a/packages/ui/src/components/Table/Table.module.css +++ b/packages/ui/src/components/Table/Table.module.css @@ -93,15 +93,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], @@ -111,7 +111,7 @@ } &[data-disabled] { - background-color: var(--bui-bg-tint-disabled); + background-color: var(--bui-bg-neutral-1-disabled); cursor: not-allowed; } }