@lukfel/ng-scaffold 21.1.39 → 21.1.42
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 +1 -2
- package/fesm2022/{lukfel-ng-scaffold-confirm-dialog.component-CPAkFqh1.mjs → lukfel-ng-scaffold-confirm-dialog.component-CMryk2MU.mjs} +3 -3
- package/fesm2022/{lukfel-ng-scaffold-confirm-dialog.component-CPAkFqh1.mjs.map → lukfel-ng-scaffold-confirm-dialog.component-CMryk2MU.mjs.map} +1 -1
- package/fesm2022/lukfel-ng-scaffold.mjs +66 -67
- package/fesm2022/lukfel-ng-scaffold.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/_theme.scss +14 -0
- package/types/lukfel-ng-scaffold.d.ts +1 -1
package/package.json
CHANGED
package/styles/_theme.scss
CHANGED
|
@@ -95,4 +95,18 @@ $lf-default-theme: (
|
|
|
95
95
|
--color-warn-#{$hue}: #{mat.m2-get-color-from-palette(map-get($theme, 'warn'), $hue)};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
+
|
|
99
|
+
// Utility classes
|
|
100
|
+
@each $palette in ('primary', 'accent', 'warn') {
|
|
101
|
+
.color-#{$palette} { color: var(--color-#{$palette}) !important; }
|
|
102
|
+
.color-bg-#{$palette} { background-color: var(--color-#{$palette}) !important; }
|
|
103
|
+
|
|
104
|
+
@for $i from 0 through 9 {
|
|
105
|
+
$hue: $i * 100;
|
|
106
|
+
@if ($hue == 0) { $hue: 50; }
|
|
107
|
+
|
|
108
|
+
.color-#{$palette}-#{$hue} { color: var(--color-#{$palette}-#{$hue}) !important; }
|
|
109
|
+
.color-bg-#{$palette}-#{$hue} { background-color: var(--color-#{$palette}-#{$hue}) !important; }
|
|
110
|
+
}
|
|
111
|
+
}
|
|
98
112
|
}
|
|
@@ -118,7 +118,6 @@ interface HeaderInputConfig {
|
|
|
118
118
|
interface ScaffoldLibraryConfig {
|
|
119
119
|
production?: boolean;
|
|
120
120
|
debugging?: boolean;
|
|
121
|
-
outlineIcons?: boolean;
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
interface ListItem {
|
|
@@ -175,6 +174,7 @@ interface NavbarConfig {
|
|
|
175
174
|
interface PlaceholderConfig {
|
|
176
175
|
matIcon?: string;
|
|
177
176
|
svgIcon?: string;
|
|
177
|
+
imgIcon?: string;
|
|
178
178
|
title?: string;
|
|
179
179
|
message?: string;
|
|
180
180
|
button?: Button;
|