diff --git a/.changeset/bright-mice-flow.md b/.changeset/bright-mice-flow.md new file mode 100644 index 0000000000..b982d18de0 --- /dev/null +++ b/.changeset/bright-mice-flow.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`CodeEditor`: add backgroundc color on copy button for readability diff --git a/packages/plus/src/components/CodeEditor/styles.css.ts b/packages/plus/src/components/CodeEditor/styles.css.ts index baed1374e7..7d6317ce46 100644 --- a/packages/plus/src/components/CodeEditor/styles.css.ts +++ b/packages/plus/src/components/CodeEditor/styles.css.ts @@ -7,6 +7,7 @@ export const copyButton = style({ position: 'absolute', top: theme.space[1], right: theme.space[1], + backgroundColor: consoleDarkTheme.colors.neutral.backgroundWeak, selectors: { '&:hover': { backgroundColor: consoleDarkTheme.colors.neutral.backgroundHover,