@smitag/angular-shared-ui 19.2.9 → 19.2.11
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/README.md
CHANGED
|
@@ -82,3 +82,18 @@ The table below lists the CSS classes emitted and the native elements styled:
|
|
|
82
82
|
| .mat-label-large | label-large | none |
|
|
83
83
|
| .mat-label-medium | label-medium | none |
|
|
84
84
|
| .mat-label-small | label-small | none |
|
|
85
|
+
|
|
86
|
+
## Applying elevation
|
|
87
|
+
|
|
88
|
+
Material Design provides six levels of elevation that can be used to provide a sense of depth and organization to an application's UI. Learn more at Material Design's [Elevation](https://m3.material.io/styles/elevation/overview) guide.
|
|
89
|
+
|
|
90
|
+
These levels are defined as CSS box-shadow values that can be styled to an element.
|
|
91
|
+
|
|
92
|
+
| CSS class | Native Element |
|
|
93
|
+
| ------------ | --------------- |
|
|
94
|
+
| .level0 | none |
|
|
95
|
+
| .level1 | .second-toolbar, .mat-mdc-card |
|
|
96
|
+
| .level2 | none |
|
|
97
|
+
| .level3 | .mat-mdc-mini-fab, .mat-mdc-fab |
|
|
98
|
+
| .level4 | none |
|
|
99
|
+
| .level5 | none |
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.level0 {
|
|
2
|
+
box-shadow: var(--mat-sys-level0) !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.level1 {
|
|
6
|
+
box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.08),
|
|
7
|
+
0 1px 3px 0 rgba(60, 64, 67, 0.16) !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.level2 {
|
|
11
|
+
box-shadow: var(--mat-sys-level2) !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.level3 {
|
|
15
|
+
box-shadow: var(--mat-sys-level3) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.level4 {
|
|
19
|
+
box-shadow: var(--mat-sys-level4) !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.level5 {
|
|
23
|
+
box-shadow: var(--mat-sys-level5) !important;
|
|
24
|
+
}
|
|
@@ -36,7 +36,7 @@ $_palettes: (
|
|
|
36
36
|
60: #009fb8,
|
|
37
37
|
70: #00bbd9,
|
|
38
38
|
80: #3dd8f7,
|
|
39
|
-
90: #
|
|
39
|
+
90: #47defd,
|
|
40
40
|
95: #d7f6ff,
|
|
41
41
|
98: #f0fbff,
|
|
42
42
|
99: #f8fdff,
|
|
@@ -54,7 +54,7 @@ $_palettes: (
|
|
|
54
54
|
60: #a29200,
|
|
55
55
|
70: #c0ac00,
|
|
56
56
|
80: #dec800,
|
|
57
|
-
90: #
|
|
57
|
+
90: #ffe614,
|
|
58
58
|
95: #fff2a9,
|
|
59
59
|
98: #fff9ea,
|
|
60
60
|
99: #fffbff,
|
|
@@ -159,6 +159,7 @@ html {
|
|
|
159
159
|
@include mat.all-component-themes($light-theme);
|
|
160
160
|
@include mat.system-level-colors($light-theme);
|
|
161
161
|
@include mat.system-level-typography($light-theme);
|
|
162
|
+
@include mat.system-level-elevation($light-theme);
|
|
162
163
|
@include mat.typography-hierarchy($light-theme);
|
|
163
164
|
@include helper.customComponents(
|
|
164
165
|
mat.get-theme-color($light-theme, primary, 40),
|
|
@@ -36,7 +36,7 @@ $_palettes: (
|
|
|
36
36
|
60: #009fb8,
|
|
37
37
|
70: #00bbd9,
|
|
38
38
|
80: #3dd8f7,
|
|
39
|
-
90: #
|
|
39
|
+
90: #47defd,
|
|
40
40
|
95: #d7f6ff,
|
|
41
41
|
98: #f0fbff,
|
|
42
42
|
99: #f8fdff,
|
|
@@ -54,7 +54,7 @@ $_palettes: (
|
|
|
54
54
|
60: #a29200,
|
|
55
55
|
70: #c0ac00,
|
|
56
56
|
80: #dec800,
|
|
57
|
-
90: #
|
|
57
|
+
90: #ffe614,
|
|
58
58
|
95: #fff2a9,
|
|
59
59
|
98: #fff9ea,
|
|
60
60
|
99: #fffbff,
|
|
@@ -159,6 +159,7 @@ html {
|
|
|
159
159
|
@include mat.all-component-themes($light-theme);
|
|
160
160
|
@include mat.system-level-colors($light-theme);
|
|
161
161
|
@include mat.system-level-typography($light-theme);
|
|
162
|
+
@include mat.system-level-elevation($light-theme);
|
|
162
163
|
@include mat.typography-hierarchy($light-theme);
|
|
163
164
|
@include helper.customComponents(
|
|
164
165
|
mat.get-theme-color($light-theme, primary, 40),
|