Skip to content

Commit 2142734

Browse files
authored
style: Fix DBRowTableIconButton contrast in light mode (#1524)
1 parent ca693c0 commit 2142734

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
Improve light mode contrast for DBRowTableIconButton by removing hardcoded gray color and text-muted-hover class
6+

packages/app/src/components/DBTable/DBRowTableIconButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const DBRowTableIconButton: React.FC<DBRowTableIconButtonProps> = ({
3434

3535
const baseClasses =
3636
variant === 'copy'
37-
? cx('text-muted-hover', styles.iconActionButton, {
37+
? cx(styles.iconActionButton, {
3838
[styles.copied]: isActive,
3939
})
4040
: className;
@@ -55,7 +55,6 @@ export const DBRowTableIconButton: React.FC<DBRowTableIconButtonProps> = ({
5555
className={baseClasses}
5656
tabIndex={tabIndex}
5757
role="button"
58-
c="gray.1"
5958
>
6059
{isActive ? <IconCheck size={iconSize} /> : children}
6160
</UnstyledButton>

0 commit comments

Comments
 (0)