Skip to content
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

Create custom icon for block to be more recognizable #9

Open
seb86 opened this issue Oct 17, 2018 · 3 comments
Open

Create custom icon for block to be more recognizable #9

seb86 opened this issue Oct 17, 2018 · 3 comments
Labels
Enhancement New feature or request Help Wanted Extra attention is needed

Comments

@seb86
Copy link
Owner

seb86 commented Oct 17, 2018

I think it would be great if the mockup below could be replicated. This is as close as I can think of showing what this block is.

custom-icon-mockup

Zac Gordon has a great article on how to make your own. Hopefully, it is still valid with the constant changes made in Gutenberg.

https://wp.zacgordon.com/2017/12/07/how-to-add-custom-icons-to-gutenberg-editor-blocks-in-wordpress/

@seb86 seb86 added the Enhancement New feature or request label Oct 17, 2018
@seb86
Copy link
Owner Author

seb86 commented Dec 28, 2018

Attempted to display two SVG's together so they are side by side but failed. May have to get or make a SVG that is designed like this as one complete SVG.

@seb86 seb86 added the Help Wanted Extra attention is needed label Jan 18, 2019
@seb86
Copy link
Owner Author

seb86 commented Jan 18, 2019

If anyone is good at creating SVG icons I would appreciate it if you could make the single image icon converted to the double image icon as shown in the screenshot above.

Here is the SVG code for the single image icon.

<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path d="M0,0h24v24H0V0z" fill="none"></path><path d="m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"></path><path d="m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"></path></svg>

@dotvhs
Copy link

dotvhs commented Feb 3, 2019

<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" focusable="false"><path d="M0,0H24V24H0Z" fill="none"/><path d="M9,3H0V5H9V19H0v2H9a2,2,0,0,0,2-2V5A2,2,0,0,0,9,3Z"/><polygon points="0 17 8 17 4.14 11.86 1.14 15.73 0 14.35 0 17"/><path d="M24,19H15V5h9V3H15a2,2,0,0,0-2,2V19a2,2,0,0,0,2,2h9Z"/><polygon points="24 12.04 21.14 15.73 19 13.14 16 17 24 17 24 12.04"/></svg>

Should look like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants