Skip to content

Commit 7434efe

Browse files
committed
fix: ensure color is inherited in focus-visible styles for ClipboardCopy button
1 parent 924c260 commit 7434efe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mdx/code.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const ClipboardCopy = ({value, ...props}) => {
3535
'&:focus-visible': {
3636
outline: '2px solid',
3737
outlineOffset: '2px',
38+
color: 'inherit',
3839
},
3940
}}
4041
>

0 commit comments

Comments
 (0)