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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user