Skip to content

fix(theme): unify copy and success SVG icons in code button group#3179

Merged
SoonIter merged 1 commit intomainfrom
syt/svg-polish
Mar 2, 2026
Merged

fix(theme): unify copy and success SVG icons in code button group#3179
SoonIter merged 1 commit intomainfrom
syt/svg-polish

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Mar 2, 2026

Summary

  • Redraw copy.svg with viewBox="0 0 24 24" and 2px line weight, matching wrap.svg / wrapped.svg style
  • Redraw success.svg with viewBox="0 0 24 24", consistent with other code button group icons
image

Closes #3111

Test plan

  • Verify copy icon in code block visually matches wrap/wrapped icon style
  • Verify success checkmark displays correctly after clicking copy

…up style (#3111)

Redraw copy.svg and success.svg with viewBox 0 0 24 24 and 2px line weight,
consistent with wrap.svg and wrapped.svg in the code button group.
Copilot AI review requested due to automatic review settings March 2, 2026 08:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 2, 2026

Rsdoctor Bundle Diff Analysis

Found 3 projects in monorepo, 2 projects with changes.

📊 Quick Summary
Project Total Size Change
node 12.0 MB +63.4 KB (0.5%)
node_md 1.5 MB 0
web 15.9 MB +41.0 B (0.0%)
📋 Detailed Reports (Click to expand)

📁 node

Path: website/doc_build/diff-rsdoctor/node/rsdoctor-data.json

📌 Baseline Commit: 66fe9f837f | PR: #3172

Metric Current Baseline Change
📊 Total Size 12.0 MB 12.0 MB +63.4 KB (0.5%)
📄 JavaScript 0 B 0 B 0
🎨 CSS 0 B 0 B 0
🌐 HTML 12.0 MB 12.0 MB +63.4 KB (0.5%)
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: node Bundle Diff

📁 web

Path: website/doc_build/diff-rsdoctor/web/rsdoctor-data.json

📌 Baseline Commit: 66fe9f837f | PR: #3172

Metric Current Baseline Change
📊 Total Size 15.9 MB 15.9 MB +41.0 B (0.0%)
📄 JavaScript 15.7 MB 15.7 MB +41.0 B (0.0%)
🎨 CSS 120.3 KB 120.3 KB 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 163.6 KB 163.6 KB 0

📦 Download Diff Report: web Bundle Diff

Generated by Rsdoctor GitHub Action

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying rspress-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 79de0ca
Status: ✅  Deploy successful!
Preview URL: https://2409a01b.rspress-v2.pages.dev
Branch Preview URL: https://syt-svg-polish.rspress-v2.pages.dev

View logs

@SoonIter SoonIter merged commit dd83352 into main Mar 2, 2026
7 checks passed
@SoonIter SoonIter deleted the syt/svg-polish branch March 2, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: request to unify and replace the copy icon in code blocks

3 participants