Start with the installation of Fluid Design System Library in the Angular framework
To consume Fluid Design System with Angular, the best way is via
yarn if you prefer).
Fonts and icons
The Fluid Design System uses the Lato font as global font family, read more about the typography bias on the dedicated section.
ENGIE has selected the Google material font as default icons pack, read more on the icons documentation.
If you don’t already import Lato and Google material icons font, you can do so by:
- Including these fonts into the main CSS file
less, etc… according to your project configurations).
- Including these fonts to your base
In order to add stylesheets of the library in your project you have to include them in your
angular.json file (which is at angular’s root directory).
In Fluid angular lib some types are generated using tokens, to get to these tokens we import a json file
@engie-group/fluid-design-tokens. Since we rely on these import you’ll need add json imports support in your
You’ll need to add the following in your
"resolveJsonModule": true in the
In the angular module where you need to use a fluid component (usually in
src/app.module.ts), you’ll need to import
If you have any issues while getting set up with Fluid Design System, please create an issue or a request on our library git repository. No newline at end of file