Skip to content

Commit d0140bb

Browse files
authored
fix: code editor copy button (#5706)
1 parent eb9e860 commit d0140bb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/bright-mice-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/plus": patch
3+
---
4+
5+
`CodeEditor`: add backgroundc color on copy button for readability

packages/plus/src/components/CodeEditor/styles.css.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const copyButton = style({
77
position: 'absolute',
88
top: theme.space[1],
99
right: theme.space[1],
10+
backgroundColor: consoleDarkTheme.colors.neutral.backgroundWeak,
1011
selectors: {
1112
'&:hover': {
1213
backgroundColor: consoleDarkTheme.colors.neutral.backgroundHover,

0 commit comments

Comments
 (0)