-
Couldn't load subscription status.
- Fork 4
SVG sprites and reusable AsciiDoc components #33
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
Conversation
| // Special handing for the directional arrows which have an odd export naming convention | ||
| if (basename.includes('Direction=')) { | ||
| basename = `carat-${basename.split('=')[1].toLowerCase()}` | ||
| basename = `carat-${basename.split('=')[1].toLowerCase()}-12` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have just changed the component, but would require refactoring wherever they are used within Figma
Also remove size convert no longer needed
|
Merging updated tokens into here so I can use them on the |
…sign-system into new-svg-sprites
Tested out here: https://github.com/oxidecomputer/docs/pull/127/files#diff-249eb98d18ed6f3a2fbd89c4149186306e9b61c6d5a84e12335f72004682ec94R3
Generates a type file, to validate icon and size combinations. Currently the icon component needs to be created within the target repo, not imported from here because we need the library (Remix) to serve the SVG.
📦 Published PR as canary version:
0.11.1--canary.33.b7e88c0.0✨ Test out this PR locally via:
npm install @oxide/design-system@0.11.1--canary.33.b7e88c0.0 # or yarn add @oxide/design-system@0.11.1--canary.33.b7e88c0.0