@smitag/angular-shared-ui 20.0.0 → 20.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@smitag/angular-shared-ui",
3
3
  "email": "benjamin.speidel@smartinsurtech.de",
4
- "version": "20.0.0",
4
+ "version": "20.0.1",
5
5
  "license": "MIT",
6
6
  "description": "Styling elements and methods shared by all frontends",
7
7
  "man": "README.md",
@@ -1,3 +1,4 @@
1
+ @use '@angular/material' as mat;
1
2
  @use './components/helper';
2
3
  @use './components/header';
3
4
  @use './components/card';
@@ -151,13 +152,21 @@ a:hover {
151
152
  }
152
153
 
153
154
  .mat-mdc-snack-bar-container.success {
154
- --mat-snackbar-container-color: #058514;
155
- color: #fff;
155
+ @include mat.snack-bar-overrides(
156
+ (
157
+ button-color: #fff,
158
+ container-color: #058514,
159
+ )
160
+ );
156
161
  }
157
162
 
158
163
  .mat-mdc-snack-bar-container.error {
159
- --mat-snackbar-container-color: #cc0000;
160
- color: white;
164
+ @include mat.snack-bar-overrides(
165
+ (
166
+ button-color: #fff,
167
+ container-color: #cc0000,
168
+ )
169
+ );
161
170
  }
162
171
 
163
172
  .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {