Skip to content

Conversation

@benjaminleonard
Copy link
Collaborator

@benjaminleonard benjaminleonard commented Jul 6, 2023

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

// 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`
Copy link
Collaborator Author

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

@benjaminleonard benjaminleonard added the minor Increment the minor version when merged label Jul 7, 2023
@benjaminleonard
Copy link
Collaborator Author

Merging updated tokens into here so I can use them on the oxide.computer update

@benjaminleonard benjaminleonard changed the title First pass at SVG sprites SVG sprites and reusable AsciiDoc components Jul 17, 2023
@benjaminleonard benjaminleonard merged commit f844a79 into master Jul 21, 2023
@benjaminleonard benjaminleonard deleted the new-svg-sprites branch December 2, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants