@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukfel/ng-scaffold",
3
- "version": "21.1.39",
3
+ "version": "21.1.42",
4
4
  "description": "This Angular library provides a basic UI scaffold and services for modern web and mobile apps",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -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;