Repository navigation
Dashicon to SVG Icon substitutions - #85510
Draft
peterwilsoncc wants to merge 2 commits into
Draft
peterwilsoncc wants to merge 2 commits into
peterwilsoncc wants to merge 2 commits into
Conversation
🤖 PR meta 🤖⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. As a user I want to set button hover background color and see it applied on the frontend (Site Editor v2) in
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Begins work on creating a dictionary of old dashicon class names to their new SVG icon package replacement.
Closes
Why?
It's relatively common that dashicons will be used for the icon of a post type (a code CPT might will use dashicon-code, etc). It's possible to infer the correct substitution for many of these so it would be wise to do so in order that the new icons just work for existing CPTs.
This is a start on this but I need help with some of the decisions.
I've logged the existing substitutions here https://peterwilson.cc/content/dashicon-subs.html
How?
Adds a property to the icon manifest with the name of the dashicon equivalent.
Todo:
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Use of AI Tools