Skip to content

Commit

Permalink
fix(): improve migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nobilo committed Oct 10, 2022
1 parent 5d684ca commit 6eae447
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ Moreover, change the import path to the alias `~` instead of using a relative pa
@import '~@baloise/design-system-next-components/src/styles/global';
```

To style your components we recommend to use css variables, however if you want to use sass variables import `global.utilities`:

```
@import '~@baloise/design-system-next-components/src/styles/global.utilities';
```

do not import for example `global.variables` everything should be provided by `global.utilities`.

### Vue / Vite

In order to get the `~` alias working, update the vite.config.ts file and add the resolve config
Expand Down

0 comments on commit 6eae447

Please sign in to comment.