Socket
Socket
Sign inDemoInstall

@pluralsight/ps-design-system-icon

Package Overview
Dependencies
Maintainers
3
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluralsight/ps-design-system-icon

Design System component for icon ui


Version published
Weekly downloads
593
increased by772.06%
Maintainers
3
Weekly downloads
 
Created
Source

This is currently not working as automatically as we'd like. If there is another large quantity of new icons or old icon adjustments, this will probably want to be improved before then.

To Produce New Svgs

  1. Draw SVGs in Sketch in the same file as the other icons (see Dmitry for file)
  2. Export with the svgo plugin. It doesn't seem to make a ton of difference (xlink is used either way, and that's unfortunate)

To Add New Icon Svgs

  1. Name icons *.icon.svg
  2. Put in the src/svg directory
  3. Add role="img" and aria-label="<iconId here> icon" to the root svg element of each icon
  4. Manually refactor the svg to not use xlink/defs.
  5. Run npm run build in the packages/icon directory (new *.svg.dist.js files will generate new icon ids automatically)
  6. Manually spot check the look of the new icons in the reference site at /components/icon
  7. Update the snapshot test

FAQs

Package last updated on 08 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc