Skip to content

chore: migrate icons from Material Symbols to Heroicons#25051

Merged
dvdksn merged 1 commit into
docker:mainfrom
dvdksn:heroicons
May 19, 2026
Merged

chore: migrate icons from Material Symbols to Heroicons#25051
dvdksn merged 1 commit into
docker:mainfrom
dvdksn:heroicons

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented May 13, 2026

Summary

  • Replaces `@material-symbols/svg-400` (5.5 MB) with `heroicons` (488 KB) — an 11x reduction in icon dependency size
  • Heroicons' single consistent format (24px solid SVGs, `fill="currentColor"`) lets us delete the separate `utils/svg.html` partial, the `icon-svg-stroke` CSS utility, and the dual-path resolution logic in `icon.html`
  • All icon references across layouts, shortcodes, and content front matter updated to kebab-case Heroicons equivalents; three custom icons (gordon, gordon-happy, system) kept as bespoke SVGs in `assets/icons/`

🤖 Generated with Claude Code

@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit ee71c80
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a0ae489ff832900085a7c47
😎 Deploy Preview https://deploy-preview-25051--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/compose Relates to docker-compose.yml spec or docker-compose binary area/hub Issue affects Docker Hub area/build Relates to Dockerfiles or docker build command area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/security area/get-started Relates to get started and onboarding docs area/subscription Relates to Docker pricing and subscription area/extensions Relates to Docker Extensions area/admin Relates to Docker Admin area/scout Relates to Docker Scout hugo Updates related to hugo dependencies Vendoring, packaging updates area/billing area/accounts Relates to Docker accounts area/config area/guides area/ai area/dhi area/offload labels May 13, 2026
@dvdksn dvdksn requested a review from a team May 13, 2026 11:04
@dvdksn dvdksn added the status/review Pull requests that are ready for review label May 13, 2026
@dvdksn dvdksn force-pushed the heroicons branch 2 times, most recently from ea5345a to 07d9975 Compare May 13, 2026 11:20
@docker-agent
Copy link
Copy Markdown

⏱️ PR Review Timed Out — The review agent hit the 1800 s time limit before completing. This usually happens on large or complex diffs. You can re-trigger with /review — if it times out again, consider splitting the PR into smaller pieces.

@dvdksn
Copy link
Copy Markdown
Contributor Author

dvdksn commented May 13, 2026

/review

@docker-agent
Copy link
Copy Markdown

⏱️ PR Review Timed Out — The review agent hit the 1800 s time limit before completing. This usually happens on large or complex diffs. You can re-trigger with /review — if it times out again, consider splitting the PR into smaller pieces.

@craig-osterhout
Copy link
Copy Markdown
Contributor

Quick glance and the icon replacements lgtm.
The top of the manual pages seems incorrect for Ask Docs AI and Open in Claude.

image

@dvdksn
Copy link
Copy Markdown
Contributor Author

dvdksn commented May 15, 2026

@craig-osterhout oops good catch, bad rebase!

Replaces @material-symbols/svg-400 (5.5 MB) with heroicons (488 KB) — an
11x reduction in icon asset size. Heroicons uses a single consistent
distribution format (24px solid SVGs, fill="currentColor") eliminating
the need for the separate utils/svg.html partial, the icon-svg-stroke CSS
utility, and the dual-path resolution logic in icon.html.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn merged commit 322a7cf into docker:main May 19, 2026
14 checks passed
@dvdksn dvdksn deleted the heroicons branch May 19, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/accounts Relates to Docker accounts area/admin Relates to Docker Admin area/ai area/billing area/build Relates to Dockerfiles or docker build command area/compose Relates to docker-compose.yml spec or docker-compose binary area/config area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/dhi area/engine Issue affects Docker engine/daemon area/extensions Relates to Docker Extensions area/get-started Relates to get started and onboarding docs area/guides area/hub Issue affects Docker Hub area/offload area/scout Relates to Docker Scout area/security area/subscription Relates to Docker pricing and subscription dependencies Vendoring, packaging updates hugo Updates related to hugo status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants