@smitag/angular-shared-ui 20.0.1 → 20.0.3

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.1",
4
+ "version": "20.0.3",
5
5
  "license": "MIT",
6
6
  "description": "Styling elements and methods shared by all frontends",
7
7
  "man": "README.md",
@@ -0,0 +1,21 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ .mat-mdc-snack-bar-container.snack-bar-success {
4
+ @include mat.snack-bar-overrides(
5
+ (
6
+ button-color: #fff,
7
+ container-color: #058514,
8
+ container-shape: 4px,
9
+ )
10
+ );
11
+ }
12
+
13
+ .mat-mdc-snack-bar-container.snack-bar-error {
14
+ @include mat.snack-bar-overrides(
15
+ (
16
+ button-color: #fff,
17
+ container-color: #cc0000,
18
+ container-shape: 4px,
19
+ )
20
+ );
21
+ }
@@ -1,14 +1,14 @@
1
- @use '@angular/material' as mat;
2
- @use './components/helper';
3
- @use './components/header';
4
1
  @use './components/card';
5
2
  @use './components/colors';
3
+ @use './components/dialog';
4
+ @use './components/drawer';
6
5
  @use './components/elevation';
7
6
  @use './components/form';
7
+ @use './components/header';
8
+ @use './components/helper';
9
+ @use './components/snackbar';
8
10
  @use './components/tab';
9
11
  @use './components/toolbar';
10
- @use './components/dialog';
11
- @use './components/drawer';
12
12
  @use './fonts/typo';
13
13
 
14
14
  html,
@@ -151,28 +151,6 @@ a:hover {
151
151
  text-decoration: underline;
152
152
  }
153
153
 
154
- .mat-mdc-snack-bar-container.success {
155
- @include mat.snack-bar-overrides(
156
- (
157
- button-color: #fff,
158
- container-color: #058514,
159
- )
160
- );
161
- }
162
-
163
- .mat-mdc-snack-bar-container.error {
164
- @include mat.snack-bar-overrides(
165
- (
166
- button-color: #fff,
167
- container-color: #cc0000,
168
- )
169
- );
170
- }
171
-
172
- .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
173
- --mat-mdc-snack-bar-button-color: #fff;
174
- }
175
-
176
154
  .material-icons {
177
155
  font-family: 'Material Icons', sans-serif;
178
156
  font-weight: normal;