Theme creator button colors are swaped
Opened this issue · 0 comments
alseether commented
On CreateThemeContent.js
, the text and background colors are swaped.
const getThemeObj = () => {
const themeObj = {};
themeObj[_.camelCase(state.themeName)] = {
"id": generate(),
"name": state.themeName,
"colors": {
"body": state.bgColor,
"text": state.txtColor,
"button": {
"text": state.btnBgColor, // <= This two lines are swapped
"background": state.btnTxtColor //
},
"link": {
"text": state.linkColor,
"opacity": 1
}
},
"font": state.font
};
return themeObj;
}