Replies: 1 comment 8 replies
-
Thanks for raising this for discussion, @dzintars 🙂 To provide a little bit of background on this: one of the limitations that prevented us from considering this in the past was having no way to differentiate between the variants. In the example you provided, both entries in the JSON would have had the So the question then becomes: is this something we want to start supporting? After a little bit of thought, I think I'd be in favour of it, personally. There are cases, such as with Hackster where they provide different variants of their logo/icon for use in different situations (usually light vs. dark backgrounds) and we're left to make a judgement call on which to add, usually opting for the primary variant. This then means that if the situation a user is using the icon in differs from the one we chose, they are using it incorrectly and, depending on their wording, potentially in violation of that brand's guidelines. But I would say that we should only do it if there are variants that are made available officially by the brand itself. I also think that, while we don't currently place any restrictions on what the modifier of a custom slug should be, other than it should be relevant to and descriptive of the brand, for variants we should require specific modifiers so as to be consistent. I would suggest that they should be With regard to your specific example of Bazel, I think that's a discussion that needs to be had separately as it's a bit of an edge case where there is an official monochrome outlined version and no monochrome filled version, but the full colour filled version can be made monochrome through the addition of cut-outs, something we already allow for and have many examples of. So I suggest you proceed with the PR for the outlined version and, pending the outcome of this discussion, open a separate issue where we can discuss the filled version further. Of course, that would all be pending the outcome of the poll you mentioned in #5573. |
Beta Was this translation helpful? Give feedback.
-
I have an geometric icon which in small scale (like in badges) does not look good in outlined variant on non-retina screens.
But the monochromatic outline variant is used in some of the official docs.
So, the solution would be to commit 2 variants:
icon-name-outline
icon-name-fill
Is this acceptable or i should go with the officially used variant only?
It's a OSS project.
I made a poll in the "official" community and waiting for the votes to come in, but until that double variant case feels appealing to me as that would suite all use-cases.
For the context there is an WIP:
P.S. In the image filled icon lost few pixels of the height and the sizes of the booth icons are not the same. That will be fixed.
Beta Was this translation helpful? Give feedback.
All reactions