Creston Style Icons as Scalable Fonts
npm install ay-crestron-fonts npm install ay-crestron-fonts `
on yarn:
` yarn add ay-crestron-fonts `
This will install the fonts in the node_modules folder. The imortant folders are structure is:
`
node_modules
|---ay-crestron-fonts
|---css
| |---crestronfonts.css
| |---neo.css
|---webfonts
|---demo.html
`
* The CSS folder contains the CSS styles to call the fonts in webfont by name instead of code, and important style for the stacking, animation, etc.
* The webfonts, is where the core vector fonts in several formats are located.
* demo.html has examples of all the included glyphs, as well as style use. Launch it by right clicking on it in visual studio and selecting Opening in Live Server.
To install simple add these two lines to your index.html.
`
`
In Angular you should put the links to those two folders under the styles property inside the angular.json properties:
`
"styles": [
"....",
"node_modules/ay-crestron-fonts/css/crestronfonts.css",
"node_modules/ay-crestron-fonts/css/neo.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
``