Skip to content
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

Add icons for documents projects, wikis, and discounts #157

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Conversation

maxatdetroit
Copy link
Member

Closes #153

Context

See #153.

This PR

  • Add bootstrap icons that most closely resemble the fontawesome icons used in intranet site
  • Sort the list of icon options in storybook for easier use

Test

@maxatdetroit maxatdetroit added the enhancement New feature or request label Feb 9, 2024
@maxatdetroit maxatdetroit self-assigned this Feb 9, 2024
@@ -245,6 +245,30 @@ export default class Icon extends HTMLElement {
<path d="M15 .5a.5.5 0 0 0-.724-.447l-8 4A.5.5 0 0 0 6 4.5v3.14L.342 9.526A.5.5 0 0 0 0 10v5.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V14h1v1.5a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5zM2 11h1v1H2zm2 0h1v1H4zm-1 2v1H2v-1zm1 0h1v1H4zm9-10v1h-1V3zM8 5h1v1H8zm1 2v1H8V7zM8 9h1v1H8zm2 0h1v1h-1zm-1 2v1H8v-1zm1 0h1v1h-1zm3-2v1h-1V9zm-1 2h1v1h-1zm-2-4h1v1h-1zm3 0v1h-1V7zm-2-2v1h-1V5zm1 0h1v1h-1z"/>
</svg>`;

case 'currency-dollar':
return `
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-currency-dollar" viewBox="0 0 16 16">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to pass width and height to the svg so it resizes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch, will get that updated.

@maxatdetroit
Copy link
Member Author

@jedgar1mx fixed the sizing and tested in storybook.

@jedgar1mx jedgar1mx merged commit 5af8ad3 into dev Feb 12, 2024
5 checks passed
@jedgar1mx jedgar1mx deleted the feature.153 branch February 12, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Missing Icons for Intranet
2 participants