@plentymarkets/terra-icons 1.2.3 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  [![npm version](https://badge.fury.io/js/%40plentymarkets%2Fterra-icons.svg)](https://badge.fury.io/js/%40plentymarkets%2Fterra-icons)
2
2
 
3
- ![plentymarkets Logo](http://www.plentymarkets.eu/layout/pm/images/logo/plentymarkets-logo.jpg)
4
-
5
3
  # terra icons for plentymarkets plugins
6
4
 
7
5
  These are the official fonts developed by plentymarkets. This repository provides fonts/icons to build plugins for the [plentymarkets](https://www.plentymarkets.eu/tour/) ERP.
@@ -11,9 +9,10 @@ These are the official fonts developed by plentymarkets. This repository provide
11
9
  1. Install the package `npm install @plentymarkets/terra-icons`
12
10
  2. Include the `style.css` in your `angular.json` inside the `styles` sections. Like this > ` "node_modules/@plentymarkets/terra-icons/dist/style.css"`
13
11
  3. For more information visit the official [angular documentation](https://angular.io/guide/workspace-config)
12
+
14
13
  ## How to publish tera-icons
15
14
 
16
- 1. Compile the .scss files to .css : run `npm run compileStyles`
15
+ 1. Compile the .scss files to .css and inline the font: run `npm run build`
17
16
  2. Update the version inside the `package.json`
18
17
  3. Publish a new npm version: `npm publish`
19
18
 
@@ -22,6 +21,8 @@ These are the official fonts developed by plentymarkets. This repository provide
22
21
  1. Visit [icomoon](https://icomoon.io/app)
23
22
  2. Upload the existing files from fonts folder and follow the steps
24
23
  3. After editing download the files. Make sure you export .scss files
24
+ 4. icomoon does not export WOFF2, so create it from the TTF:
25
+ `npx -p wawoff2@2.0.1 woff2_compress.js fonts/plentyicons.ttf fonts/plentyicons.woff2`
25
26
 
26
27
  ## License
27
28