Skip to content

Conversation

@nkrambo
Copy link
Contributor

@nkrambo nkrambo commented May 30, 2025

Motivation:

We updated the "clipboard" action on code blocks to be more modern, similar to how GitHub and others handle this interaction.

Modifications:

Updates the JS file that handles this interaction and the accompanied CSS files.

Result:

Use a standard clipboard icon and swap out to a green check on successful copy.

Support light and dark modes.

@shahmishal shahmishal merged commit 1a981a6 into swiftlang:redesign May 31, 2025
3 checks passed
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.

2 participants