We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0695a6 commit 56c3c2aCopy full SHA for 56c3c2a
src/mdx/code.js
@@ -31,6 +31,13 @@ const ClipboardCopy = ({value, ...props}) => {
31
setCopied(true)
32
announce(`Copied to clipboard`)
33
}}
34
+ sx={{
35
+ '&:focus-visible': {
36
+ outline: '2px solid',
37
+ outlineColor: 'accent.fg',
38
+ outlineOffset: '2px',
39
+ },
40
+ }}
41
>
42
<Octicon icon={copied ? CheckIcon : CopyIcon} sx={{color: copied ? 'success.fg' : 'fg.muted'}} />
43
</Button>
0 commit comments