@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.
- package/package.json +1 -1
- package/theme/index.js +5 -0
package/package.json
CHANGED
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
|
};
|