You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
First thank you for issuing this library.
I was trying to include it in one of my project but I am struggling to theme Bulma (colors for example).
I've added a on top of my component with the following theme
{
primary: '#E7272D',
}
It throws the following error in React :
TypeError: Cannot convert undefined or null to object
colorClasses
node_modules/bulma-styled-components/dist/index.js:3133
3130 |
3131 | var colorClasses$6 = function colorClasses(_ref5) {
3132 | var theme = _ref5.theme;
Hi,
First thank you for issuing this library.
I was trying to include it in one of my project but I am struggling to theme Bulma (colors for example).
I've added a on top of my component with the following theme
{
primary: '#E7272D',
}
It throws the following error in React :
TypeError: Cannot convert undefined or null to object
colorClasses
node_modules/bulma-styled-components/dist/index.js:3133
3130 |
3131 | var colorClasses$6 = function colorClasses(_ref5) {
3132 | var theme = _ref5.theme;
I tried to read the source code to get a clue but without any chance.... Do I miss something?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: