@influitive/profile-card
Advanced tools
Comparing version 3.0.17 to 3.0.18
@@ -22,2 +22,4 @@ "use strict"; | ||
var _colorsUtil = require("../colors-util"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -51,3 +53,3 @@ | ||
themeOverrides['colors'] = { | ||
primary: [_fromHub.hubPrimaryColor] | ||
primary: (0, _colorsUtil.themePrimaryColors)(_fromHub.hubPrimaryColor) | ||
}; | ||
@@ -54,0 +56,0 @@ } |
{ | ||
"name": "@influitive/profile-card", | ||
"version": "3.0.17", | ||
"version": "3.0.18", | ||
"dependencies": { | ||
@@ -10,2 +10,3 @@ "@influitive/jwt": "^2.1.2", | ||
"@influitive/secret-garden": "^0.3.12", | ||
"color": "^3.1.2", | ||
"infl-icons": "1.2.1", | ||
@@ -12,0 +13,0 @@ "jss": "^3.7.0", |
@@ -8,2 +8,3 @@ import React, { Component } from 'react'; | ||
import { hubPrimaryColor, hubCustomFont } from '../from-hub'; | ||
import { themePrimaryColors } from '../colors-util'; | ||
@@ -13,3 +14,3 @@ const themeOverrides = {}; | ||
if (hubPrimaryColor) { | ||
themeOverrides['colors'] = { primary: [hubPrimaryColor] }; | ||
themeOverrides['colors'] = { primary: themePrimaryColors(hubPrimaryColor) }; | ||
} | ||
@@ -16,0 +17,0 @@ |
501593
53
2106
10
+ Addedcolor@^3.1.2
+ Addedcolor@3.2.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)