0.0.5 • Published 20 days ago

@myhealth-belgium/design-kit v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
20 days ago

MyHealth - Angular design kit

The MyHealth design kit is used for developing web components to integrate with MyHealth.belgium.be.

In this current version, the design kit only works with SCSS and Angular. The design kit is meant to be used with Angular Material and will modify the Angular Material system to fit MyHealth's style.

Installation

npm install @myhealth-belgium/design-kit @angular/material

Importing the SCSS files

In your project's main SCSS file, include MH's core like so:

@use '@myhealth-belgium/design-kit' as mh;

@include mh.core();

This will add frequently used classes to your project, as well as override Angular Material style to use MH's house style instead.

Make sure to not import Angular Material into your angular.json styles. Including the SCSS mh.core() mixin will include Angular Material with MyHealth's theming for you.

MyHealth component overrides

You can override each component with MyHealth's styling individually. Or you can also import all these components at once with this SCSS mixin:

...

@include mh.override-all-mat-components();

For a full guide on how to add these components individually, please visit our Storybook.

MyHealth variables

For more information about how to use the MH design kit, please visit our Storybook.

0.0.5

20 days ago

0.0.4

2 months ago

0.0.3

2 months ago

0.0.2

4 months ago

0.0.1

5 months ago