@hafslundnett/hdd-icons
v1.5.1
Published
Icons used across Hafslund Nett projects.
Downloads
21
Readme
@hafslundnett/hdd-icons
Hdd icons for web services and native apps.
Installation
TBD: Install via CDN (preferred)
Use the latest version:
<!-- <script src="https://"></script> -->
Or choose a specific version:
<!-- <script src="https://"></script> -->
Install npm
package
yarn install @hafslundnett/hdd-icons -dev
import hddIcons from '@hafslundnett/hdd-icons' // Vanilla JS
import {HddIcon} from '@hafslundnett/hdd-icons/hdd-icons.jsx' // ...or React/Preact compatible JSX
Local development
First clone @hafslundnett/hdd-icons
and install its dependencies:
git clone [email protected]:hafslundnett/hdd.git
cd hdd/packages/hdd-icons/
yarn install
yarn start # Your browser will open documentation with hot reloading
Building and committing
After having applied changes, remember to build before pushing the changes upstream.
git checkout -b feature/my-changes
# update the source code
yarn build
git commit -am "feat: add my changes"
git push origin feature/my-changes
# then make a PR to the master branch,
# and assign another developer to review your code
NOTE! Please also make sure to keep commits small and clean (that the commit message actually refers to the updated files).
Make sure the commit message is Capitalized and starts with an imperative verb (for examplefeat: add minification support
). Preferrably follow the commitizen standard.