diff --git a/examples/src/example.js b/examples/src/example.js index e8bd858..7dd5b42 100644 --- a/examples/src/example.js +++ b/examples/src/example.js @@ -180,7 +180,7 @@ class Example extends React.Component { createContentStyle(theme) { // Can be selected for more situations (cssText or contentCSSText). const contentStyle = { - backgroundColor: '#000033', + backgroundColor: '#2e3847', color: '#fff', placeholderColor: 'gray', // cssText: '#editor {background-color: #f3f3f3}', // initial valid @@ -251,10 +251,10 @@ class Example extends React.Component { let that = this; const {contentStyle, theme, emojiVisible, disabled} = that.state; const {backgroundColor, color, placeholderColor} = contentStyle; - const themeBg = {backgroundColor}; + const dark = theme === 'dark'; return ( - +