@smitag/angular-shared-ui 20.0.0 → 20.0.2

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.2",
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';
@@ -150,14 +151,24 @@ a:hover {
150
151
  text-decoration: underline;
151
152
  }
152
153
 
153
- .mat-mdc-snack-bar-container.success {
154
- --mat-snackbar-container-color: #058514;
155
- color: #fff;
156
- }
157
-
158
- .mat-mdc-snack-bar-container.error {
159
- --mat-snackbar-container-color: #cc0000;
160
- color: white;
154
+ .mat-mdc-snack-bar-container.snack-bar-success {
155
+ @include mat.snack-bar-overrides(
156
+ (
157
+ button-color: #fff,
158
+ container-color: #058514,
159
+ container-shape: 4px,
160
+ )
161
+ );
162
+ }
163
+
164
+ .mat-mdc-snack-bar-container.snack-bar-error {
165
+ @include mat.snack-bar-overrides(
166
+ (
167
+ button-color: #fff,
168
+ container-color: #cc0000,
169
+ container-shape: 4px,
170
+ )
171
+ );
161
172
  }
162
173
 
163
174
  .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {