Skip to content

Commit

Permalink
chore: add scss workaround for upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Sep 3, 2024
1 parent 4d5aecf commit b39761f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus/docs/Angular/basics/upgrade-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ In case you run into an SCSS issue related to icons, you should extend the style
@import "stream-chat-angular/src/assets/styles/scss/index.scss";
```

If Angular can't find the stylesheet, you should include `node_modules` in your `angular.json` in the `build.options` section:

```
"stylePreprocessorOptions": {
"includePaths": ["./node_modules"]
}
```

No futher action is required for customers who were already using theme-v2.

Customers who used to use theme-v1 now need to use theme-v2. Updating from theme-v1 to theme-v2 will require to rewrite your custom CSS code as the new theme has a new variable system, and all the components were restructured. To help you get started please refer our [theming guide](../theming/introduction.mdx).
Expand Down

0 comments on commit b39761f

Please sign in to comment.