Skip to content

Commit

Permalink
Merge pull request #166 from nzzdev/release-5.0.8
Browse files Browse the repository at this point in the history
Release 5.0.8
  • Loading branch information
fgervasi authored Feb 2, 2022
2 parents 3b4fccd + 4fd3739 commit 489b274
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions helpers/colorColumnColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ const digitWords = [
];

function getTextColor(customColor, colorClass) {
if (
(customColor !== undefined &&
customColor.textColor !== undefined &&
customColor.textColor === "light") ||
colorClassWithLightFontList.indexOf(colorClass) > -1
) {
if (customColor !== undefined && customColor.textColor !== undefined) {
return customColor.textColor === "light"
? "s-color-gray-1"
: "s-color-gray-9";
}

if (colorClassWithLightFontList.indexOf(colorClass) > -1) {
return "s-color-gray-1";
}
return "s-color-gray-9";
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "q-table",
"version": "5.0.7",
"version": "5.0.8",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 489b274

Please sign in to comment.