@elderbyte/ngx-starter 19.1.0-beta.13 → 19.1.0-beta.15
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/fesm2022/elderbyte-ngx-starter.mjs +1025 -1025
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.scss +1 -4
- package/theming/abstracts/_elder-design-tokens.scss +5 -2
- package/theming/abstracts/_elder-scss-variables.scss +8 -17
- package/theming/components/_elder-chip-theme.scss +4 -4
- /package/theming/components/{elder-filter-chip-template-theme.scss → _elder-filter-chip-template-theme.scss} +0 -0
- /package/theming/components/{elder-multi-select-chip-options-theme.scss → _elder-multi-select-chip-options-theme.scss} +0 -0
- /package/theming/components/{elder-multi-select-chips-theme.scss → _elder-multi-select-chips-theme.scss} +0 -0
- /package/theming/components/{elder-select-theme.scss → _elder-select-theme.scss} +0 -0
package/package.json
CHANGED
|
@@ -75,10 +75,7 @@ $elder-tile-padding: 8px;
|
|
|
75
75
|
width: 100%;
|
|
76
76
|
height: 100%;
|
|
77
77
|
cursor: pointer;
|
|
78
|
-
|
|
79
|
-
// mat.get-theme-color($theme, neutral, 80),
|
|
80
|
-
// 0.34
|
|
81
|
-
// ); // default background
|
|
78
|
+
border-radius: var(--elder-pane-border-radius);
|
|
82
79
|
background-color: var(--md-sys-color-surface-container-low);
|
|
83
80
|
text-align: left;
|
|
84
81
|
transition:
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
--mat-table-row-item-outline-color: var(--md-sys-color-outline-variant);
|
|
20
20
|
--mat-divider-color: var(--md-sys-color-outline-variant); // make divider color lighter
|
|
21
21
|
--mat-sidenav-container-elevation-shadow: var(--mat-app-elevation-shadow-level-16);
|
|
22
|
-
--mat-sidenav-container-background-color: var(--
|
|
22
|
+
--mat-sidenav-container-background-color: var(--mat-app-background-color);
|
|
23
|
+
--mdc-dialog-container-color: var(--mat-app-background-color);
|
|
24
|
+
|
|
23
25
|
|
|
24
26
|
// import fix for overflow of mat-icons, default is 40px in m3, in m2 it was 48px
|
|
25
27
|
--mdc-icon-button-state-layer-size: 48px;
|
|
@@ -36,9 +38,10 @@
|
|
|
36
38
|
--elder-pane-gap: #{map.get(config.$sizes, sm)};
|
|
37
39
|
--elder-pane-border-radius: var(
|
|
38
40
|
--mdc-outlined-card-container-shape,
|
|
39
|
-
|
|
41
|
+
12px
|
|
40
42
|
);
|
|
41
43
|
--elder-pane-bg-color: var(--md-sys-color-surface-container-lowest);
|
|
44
|
+
--elder-round-corner-side-padding: 10px;
|
|
42
45
|
|
|
43
46
|
// card header
|
|
44
47
|
--elder-card-header-padding: 15px 15px 5px 15px;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
2
3
|
|
|
3
4
|
$sizes: (
|
|
4
5
|
xs: 4px,
|
|
@@ -42,24 +43,14 @@ $chip-colors: (
|
|
|
42
43
|
state-other: #cdc7e5,
|
|
43
44
|
);
|
|
44
45
|
|
|
45
|
-
// $chip-colors: (
|
|
46
|
-
// state-none: lighten(map.get($chip-colors, state-none), 2%),
|
|
47
|
-
// state-open: lighten(map.get($chip-colors, state-open), 2%),
|
|
48
|
-
// state-in-progress: lighten(map.get($chip-colors, state-in-progress), 2%),
|
|
49
|
-
// state-completed: lighten(map.get($chip-colors, state-completed), 2%),
|
|
50
|
-
// state-warn: lighten(map.get($chip-colors, state-warn), 2%),
|
|
51
|
-
// state-error: lighten(map.get($chip-colors, state-error), 2%),
|
|
52
|
-
// state-other: lighten(map.get($chip-colors, state-other), 2%),
|
|
53
|
-
// );
|
|
54
|
-
|
|
55
46
|
$chip-colors-dark: (
|
|
56
|
-
state-none:
|
|
57
|
-
state-open:
|
|
58
|
-
state-in-progress:
|
|
59
|
-
state-completed:
|
|
60
|
-
state-warn:
|
|
61
|
-
state-error:
|
|
62
|
-
state-other:
|
|
47
|
+
state-none: color.adjust(map.get($chip-colors, state-none), $lightness: -65%),
|
|
48
|
+
state-open: color.adjust(map.get($chip-colors, state-open), $lightness: -45%),
|
|
49
|
+
state-in-progress: color.adjust(map.get($chip-colors, state-in-progress), $lightness: -45%),
|
|
50
|
+
state-completed: color.adjust(map.get($chip-colors, state-completed), $lightness: -45%),
|
|
51
|
+
state-warn: color.adjust(map.get($chip-colors, state-warn), $lightness: -45%),
|
|
52
|
+
state-error: color.adjust(map.get($chip-colors, state-error), $lightness: -45%),
|
|
53
|
+
state-other: color.adjust(map.get($chip-colors, state-other), $lightness: -45%),
|
|
63
54
|
);
|
|
64
55
|
|
|
65
56
|
$palettes: (
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
3
|
@use '../abstracts/elder-scss-variables' as config;
|
|
4
4
|
|
|
5
|
-
$colorStateNone: var(--
|
|
6
|
-
$colorStateOpen: var(--
|
|
5
|
+
$colorStateNone: var(--md-sys-color-surface-variant);
|
|
6
|
+
$colorStateOpen: var(--md-sys-color-surface-variant);
|
|
7
7
|
|
|
8
8
|
$colorStateInProgress: var(--elder-chip-color-state-in-progress);
|
|
9
9
|
$colorStateCompleted: var(--elder-chip-color-state-completed);
|
|
@@ -18,8 +18,8 @@ $level-critical: $colorStateError;
|
|
|
18
18
|
|
|
19
19
|
@mixin theme($config-or-theme) {
|
|
20
20
|
.mat-mdc-chip.mat-mdc-chip {
|
|
21
|
-
--mdc-chip-elevated-container-color:
|
|
22
|
-
background-color:
|
|
21
|
+
--mdc-chip-elevated-container-color: $colorStateNone;
|
|
22
|
+
background-color: $colorStateNone;
|
|
23
23
|
|
|
24
24
|
&.elder-chip-color-primary,
|
|
25
25
|
&.color-primary {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|