@elderbyte/ngx-starter 19.1.0-beta.22 → 19.1.0-beta.23

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": "@elderbyte/ngx-starter",
3
- "version": "19.1.0-beta.22",
3
+ "version": "19.1.0-beta.23",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",
@@ -342,4 +342,23 @@
342
342
  &.elder-dark-theme elder-data-transfer-aggregate .mdc-linear-progress__buffer-bar {
343
343
  --mdc-linear-progress-track-color: var(--md-sys-color-tertiary-container);
344
344
  }
345
+
346
+ /* Fix: Use secondary color on accent buttons and slide toggles.
347
+ This fix is atm needed since we overwrite tertiary color. Maybe find better solution.. */
348
+
349
+ // Button colors
350
+ .mat-accent.mat-mdc-button-base {
351
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
352
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
353
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
354
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
355
+ }
356
+
357
+ // slide toggle colors
358
+ .mat-accent.mat-mdc-slide-toggle {
359
+ --md-sys-color-tertiary: var(--md-sys-color-secondary);
360
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
361
+ --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
362
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
363
+ }
345
364
  }
@@ -29,6 +29,7 @@
29
29
  with-trailing-icon-trailing-icon-color: $color,
30
30
  focus-outline-color: #aaa,
31
31
  //selected-trailing-icon-color: $color,
32
+ selected-trailing-icon-color: $color,
32
33
  )
33
34
  );
34
35
  }