-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patterns: Make theme pattern lock icons consistent with block toolbar's menu item #54234
Conversation
@jasmussen or @jameskoster can you confirm whether we do in fact want to make these lock icons more consistent? There are a couple of issues with this quick draft of a PR:
Do you think it is worth getting an equivalent to the |
Size Change: +15 B (0%) Total Size: 1.52 MB
ℹ️ View Unchanged
|
I think the application of the lock icon could use a design audit. The outlined version was originally intended to represent a default/neutral/passive state, specifically for blocks (see: #39916 (comment)). Based on that, the current implementation on the Patterns grid is correct. But it may be worth revisiting how much value there is in having the two versions of the same icon (filled + outlined). It creates inconsistency, and I had to look up why the oultined version was added in the first place which suggests it may not be communicating it's purpose all that well. Perhaps it would be better to use |
I'm happy to shelve this PR if desired, until such a time as we deem it a priority.
Thanks, that does shed some light on it. |
I'll defer to Jay on this one! |
Thanks @jameskoster and @jasmussen for the feedback. Appreciate it 👍
Given the pattern grid is correct based on what's been said. I'll close this PR and related issue. We can easily revive it once any audit of the lock icons is completed and we have a clear goal. |
Fixes: #53285
What?
Updates the lock icons used in the site editor Patterns page, to match the lock outline icon used in block toolbar more menu's lock item.
Why?
Consistency is good.
See: #51948 (comment)
How?
Reuses the
lockOutline
icon however this PR also currently tweaks the rendered size of the icon so it is more inline with what was already there.Would it be better to have a
lockOutlineSmall
icon as an equivalent to thelockSmall
icon?Testing Instructions
Screenshots or screencast
Lock icon in block toolbar more menu: