Skip to content

Custom Icons: size and color info missing in documtation #7173

Answered by kamilkrzyskow
Technofrikus asked this question in Q&A
Discussion options

You must be logged in to vote

Huh, weird I'm pretty sure I sent a comment in the Issue, but now I don't see it 🤔, perhaps I forgot to press send 😰

Let's take a random SVG from the theme and open it up in a text editor:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 2a2 2 0 0 0-2 2v8h2V8h2v4h2V4a2 2 0 0 0-2-2H4m0 2h2v2H4m18 9.5V14a2 2 0 0 0-2-2h-4v10h4a2 2 0 0 0 2-2v-1.5a1.54 1.54 0 0 0-1.5-1.5 1.54 1.54 0 0 0 1.5-1.5M20 20h-2v-2h2v2m0-4h-2v-2h2M5.79 21.61l-1.58-1.22 14-18 1.58 1.22Z"/></svg>

We can see the icon is set to a size of 24x24, all of the values in the path in the d attribute …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Technofrikus
Comment options

@kamilkrzyskow
Comment options

@squidfunk
Comment options

@Technofrikus
Comment options

@squidfunk
Comment options

Answer selected by Technofrikus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Issue concerns the documentation
3 participants
Converted from issue

This discussion was converted from issue #7172 on May 12, 2024 14:03.