@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.119 to 1.0.120
@@ -209,2 +209,8 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
}]; | ||
var themeConfig = { | ||
borderRadius: 7, | ||
colors: { | ||
primary: defaultTheme.input.ringColor | ||
} | ||
}; | ||
var MyComponent = function MyComponent() { | ||
@@ -214,7 +220,4 @@ return React.createElement(Select, { | ||
theme: function theme(_theme) { | ||
return _extends({}, _theme, { | ||
borderRadius: 7, | ||
colors: _extends({}, _theme.colors, { | ||
primary: 'red' | ||
}) | ||
return _extends({}, _theme, themeConfig, { | ||
colors: _extends({}, _theme.colors, themeConfig.colors) | ||
}); | ||
@@ -221,0 +224,0 @@ } |
@@ -207,2 +207,8 @@ import React from 'react'; | ||
}]; | ||
var themeConfig = { | ||
borderRadius: 7, | ||
colors: { | ||
primary: defaultTheme.input.ringColor | ||
} | ||
}; | ||
var MyComponent = function MyComponent() { | ||
@@ -212,7 +218,4 @@ return React.createElement(Select, { | ||
theme: function theme(_theme) { | ||
return _extends({}, _theme, { | ||
borderRadius: 7, | ||
colors: _extends({}, _theme.colors, { | ||
primary: 'red' | ||
}) | ||
return _extends({}, _theme, themeConfig, { | ||
colors: _extends({}, _theme.colors, themeConfig.colors) | ||
}); | ||
@@ -219,0 +222,0 @@ } |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.119", | ||
"version": "1.0.120", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.modern.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
96129
1446