@covalent/core 8.5.0 → 8.5.2

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": "@covalent/core",
3
- "version": "8.5.0",
3
+ "version": "8.5.2",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./theming/_all-theme.scss",
@@ -107,7 +107,7 @@
107
107
  "@angular/router": "17.x.x",
108
108
  "@angular/cdk": "17.x.x",
109
109
  "@angular/material": "17.x.x",
110
- "@covalent/core": "8.5.0"
110
+ "@covalent/core": "8.5.2"
111
111
  },
112
112
  "dependencies": {
113
113
  "tslib": "^2.0.0"
@@ -23,4 +23,12 @@
23
23
  @include td-json-formatter-theme($theme);
24
24
  @include td-message-theme($theme);
25
25
  @include td-side-sheet-theme($theme);
26
+
27
+ $foreground: map-get(map-get($theme, color), foreground);
28
+ $inverse-on-surface: map-get($foreground, inverse-on-surface);
29
+
30
+ .mdc-tooltip__surface {
31
+ // Tooltip fix to override the correct fill color in MDC styles
32
+ --mdc-plain-tooltip-supporting-text-color: #{$inverse-on-surface};
33
+ }
26
34
  }
@@ -255,6 +255,7 @@ $td-light-theme-foreground: (
255
255
  secondary-text: $theme-light-colors-on-surface-variant,
256
256
  icon: $light-text-icon-on-background,
257
257
  icons: $light-text-icon-on-background,
258
+ inverse-on-surface: $theme-light-colors-inverse-on-surface,
258
259
  text: $light-on-surface,
259
260
  slider-min: $light-on-surface,
260
261
  slider-off: $theme-light-colors-on-surface-8,
@@ -328,6 +329,7 @@ $td-dark-theme-foreground: (
328
329
  secondary-text: $theme-dark-colors-on-surface-variant,
329
330
  icon: $dark-text-icon-on-background,
330
331
  icons: $dark-text-icon-on-background,
332
+ inverse-on-surface: $theme-dark-colors-inverse-on-surface,
331
333
  text: $dark-on-surface,
332
334
  slider-min: $dark-on-surface,
333
335
  slider-off: $theme-dark-colors-on-surface-8,