@posten/hedwig
Advanced tools
Comparing version 7.3.1 to 7.4.0
{ | ||
"name": "@posten/hedwig", | ||
"version": "7.3.1", | ||
"version": "7.4.0", | ||
"publishConfig": { | ||
@@ -77,2 +77,7 @@ "access": "public" | ||
"devDependencies": { | ||
"@fortawesome/fontawesome-pro": "^5.2.0", | ||
"@fortawesome/fontawesome-svg-core": "^1.2.2", | ||
"@fortawesome/free-brands-svg-icons": "^5.2.0", | ||
"@fortawesome/pro-regular-svg-icons": "^5.2.0", | ||
"@fortawesome/pro-solid-svg-icons": "^5.2.0", | ||
"aws-sdk": "^2.40.0", | ||
@@ -82,4 +87,4 @@ "babel-cli": "^6.24.0", | ||
"babel-preset-es2015": "^6.24.0", | ||
"concurrently": "^3.4.0", | ||
"cssnano": "^3.10.0", | ||
"concurrently": "^3.4.0", | ||
"dotenv": "^4.0.0", | ||
@@ -86,0 +91,0 @@ "eslint": "^3.19.0", |
@@ -81,5 +81,12 @@ # Hedwig | ||
```hint | ||
Old functional icons are being deprecated soon. From Hedwig version 7.4 you should switch to using functional icons from Font Awesome. | ||
``` | ||
We use [inline SVG's for icons](https://github.com/bring/hedwig/issues/9). | ||
Icons works like this: | ||
..in two different ways: | ||
- SVG sprite - for special icons and logos | ||
- Font Awesome - for functional icons | ||
#### SVG Sprite Icons works like this: | ||
- Place icons in the `assets/icons/` folder | ||
@@ -89,4 +96,7 @@ - Run `npm run svg` to generate SVG sprite. `npm run build` or `npm run dev` will both also produce the SVG sprite | ||
- Include `https://cdn.jsdelivr.net/npm/@posten/hedwig@latest/dist/icons.min.js` in the footer of the document | ||
#### Font Awesome Icons works like this | ||
- [Add npm.fontawesome.com in your npm registry](https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers). An authToken is required for this step. For Posten and Bring developers, contact Hedwig contributors. Otherwise, [you can get a licence](https://fontawesome.com/pricing). | ||
- Use functional icons like described in [the docs](https://hedwig-docs.herokuapp.com/bring.html#/Icon-functional) | ||
### 🔧 Linting | ||
@@ -93,0 +103,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1678225
689
182
36