@data-fair/lib-common-types 1.16.3 → 1.16.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/theme/index.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-common-types",
3
- "version": "1.16.3",
3
+ "version": "1.16.5",
4
4
  "description": "Shared schemas and built type definitions in the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/theme/index.js CHANGED
@@ -140,6 +140,11 @@ export const getTextColorsCss = (colors, theme) => {
140
140
  css += `
141
141
  .v-theme--${theme} .text-${color}:not(.v-btn--disabled) { color: ${colors[key]}!important; }`;
142
142
  }
143
+ const onKey = `on-${color}`;
144
+ if (colors[onKey]) {
145
+ css += `
146
+ .v-theme--${theme} .bg-${color} a { color: ${colors[onKey]} }`;
147
+ }
143
148
  }
144
149
  return css;
145
150
  };