@skyux/icons
v10.3.0
Published
A sprite map for SKY UX SVG icons.
Readme
skyux-icons
Overview
SKY UX icons is a package that provides icon assets for the SKY UX framework.
Usage
To use SKY UX icons, use the SKY UX icon component.
Adding new icons
Adding Fluent icons
- Add the icon name to the alphabetized list in
src/svg/fluent-icon-list.txt- Do not include any variant or size information
- Verify the icon name in the Fluent icon GitHub repo
- Release the
skyux-iconsrepo following the release process
Adding custom icons
Single color icons
- Add SVG files to
src/svgusing file name format:<name>-<size>-<variant>.svg - All sizes require both a solid and line variant
- SVG files should contain only one path
- SVG files must not contain:
- Classes
<style>elements- Inline styles
- Release the
skyux-iconsrepo following the release process
Mutli-color icons
SKY UX icons can support 2 colors.
- Add SVG files to
src/svgusing file name format:<name>-<size>-<variant>.svg - All sizes require both a solid and line variant
- Use these classes on each path for colors:
- Primary:
sky-i-path-1 - Secondary:
sky-i-path-2
- Primary:
- SVG files must not contain:
<style>elements- Inline styles
- Release the
skyux-iconsrepo following the release process
Branded icons
Branded icons support maintaining brand color customization.
- Add SVG files to
src/svg/brandedusing file name format:<name>-<size>-<variant>.svg - All sizes require both a solid and line variant
- SVG files must not contain:
<style>elements- Inline styles
- Release the
skyux-iconsrepo following the release process
Release Process
Minor Version
- Release
skyux-icons - If metadata changes have been made, update the
@skyux/iconspackage version in@skyux/iconand release the monorepo.
Major Version
- Release
skyux-icons - Update
@skyux/iconcomponent:@skyux/iconspackage version- the major version in the CDN URL in
SkyIconSvgResolverService
- Release the monorepo
- Update the docs SPA and omnibar SPA packages
Maintenance
Important: All updates to the @fluentui/svg-icons package require a breaking change release due to potential visual changes in any version (major, minor, or patch).
To create a breaking change, add ! to your commit title, i.e. feat!: update fluent icon version
Legal
Icons that have an owner property in the metadata.json file are the property of the listed organization.
Icons owned by Webalys, LLC must only be used within the context of the SKY UX user experience framework.
