Create a storybook page with icon name mappings
Categories
(Toolkit :: UI Widgets, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: mstriemer, Assigned: mstriemer)
References
Details
(Whiteboard: [recomp])
Attachments
(1 external file)
Given a design that references icons in this figma, how is one meant to find the corresponding filename in fx-main / mozilla-central?
Our Figma has a page that lists icons that are ready to be used in designs, but there's no connection to the source so it's not obvious which icon to use or whether the icon is even in the tree.
The first thing that comes to mind for me would be creating icon tokens that point to the chrome:// URL for an icon and linking those up in Figma and displaying them in the tokens table
Should we enforce some format like --icon-<name> or some other format like --icon-<category>-<name> or allow both? Perhaps just having a page in storybook that shows all of the icons at once so they're easier to find would be enough?
{
"icon": {
"add": { "value": "chrome://global/skin/icons/plus.svg" },
"notification": {
"info": {
"@base": { "value": "chrome://global/skin/icons/info.svg" },
"fill": { "value": "chrome://global/skin/icons/info-filled.svg" }
}
}
}
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Hanna quasi-volunteered (feel free to unassign if I missed a joke!)
| Assignee | ||
Comment 2•9 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
Comment 4•8 months ago
|
||
| bugherder | ||
Updated•7 months ago
|
Description
•