Skip to content

Commit 2dbbb71

Browse files
committed
feat: stream-chat-css updated
BREAKING CHANGE: Some changes were introduced to the CSS so you might have to update your custom CSS code
1 parent da8d83d commit 2dbbb71

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

docusaurus/docs/Angular/basics/upgrade-v3.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Version 4 of stream-chat-angular brings a new and improved theming system. To us
1111

1212
The old theme can still be used with the latest SDK versions however, you might need to update your custom CSS as some changes were introduced to theme-v1.
1313

14+
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.
15+
1416
Theme-v1 is now deprecated and will be removed in a future release.
1517

1618
## Theard layout

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"@ngx-translate/core": "^13.0.0",
118118
"@ngx-translate/http-loader": "^6.0.0",
119119
"@popperjs/core": "^2.11.5",
120-
"@stream-io/stream-chat-css": "2.9.0",
120+
"@stream-io/stream-chat-css": "3.0.0-theming2.1",
121121
"@stream-io/transliterate": "^1.5.2",
122122
"angular-mentions": "^1.4.0",
123123
"dayjs": "^1.10.7",

projects/sample-app/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export class AppComponent implements AfterViewInit {
5151
.subscribe((isThreadOpen) => (this.isThreadOpen = isThreadOpen));
5252
this.themeVersion = themeService.themeVersion;
5353
this.theme$ = themeService.theme$;
54-
themeService.theme$.next('dark');
5554
}
5655

5756
ngAfterViewInit(): void {

0 commit comments

Comments
 (0)