Skip to content

fix(copyable): round the copy button's corners - #3954

Open
bilal-karim wants to merge 1 commit into
mainfrom
fix-copyable-button-radius
Open

bilal-karim wants to merge 1 commit into
mainfrom
fix-copyable-button-radius

Conversation

@bilal-karim

@bilal-karim bilal-karim commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Rounds the copy button so its hover, press, and focus states no longer render as a hard square.

  • holocene/copyable/button.svelte sets hover:bg-interactive-tertiary-hover, active:bg-interactive-tertiary-press, and focus-visible:bg-interactive-secondary, but had no border radius, so every copy button in the app showed a square background on interaction.
  • Adds rounded, matching Holocene's Button, which uses the same radius.
  • Copyable doesn't forward a class to its inner copy button, so consumers can't fix this locally without targeting the component's markup.

🤖 Generated with Claude Code

The copy button's hover, press, and focus backgrounds rendered as a hard
square because the button had no border radius. Match Holocene's Button,
which uses `rounded`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
holocene Ready Ready Preview Sep 25, 2026 3:16pm UTC

Request Review

@bilal-karim
bilal-karim marked this pull request as ready for review September 25, 2026 15:17
@bilal-karim
bilal-karim requested a review from a team as a code owner September 25, 2026 15:17

This branch was successfully deployed

1 active deployment
Preview — 27a7fe9f Deployed Sep 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant