@@ -66,7 +66,6 @@ export const CustomThemeSelector: React.FC = observer(() => {
6666
6767  const  handleValueChange  =  ( val : string  |  undefined ,  onChange : any )  =>  { 
6868    let  hex  =  val ; 
69- 
7069    // prepend a hashtag if it doesn't exist 
7170    if  ( val  &&  val [ 0 ]  !==  "#" )  hex  =  `#${ val }  ; 
7271
@@ -94,7 +93,7 @@ export const CustomThemeSelector: React.FC = observer(() => {
9493                      placeholder = "#0d101b" 
9594                      className = "w-full" 
9695                      style = { { 
97-                         backgroundColor : value , 
96+                         backgroundColor : watch ( "background" ) , 
9897                        color : watch ( "text" ) , 
9998                      } } 
10099                      hasError = { Boolean ( errors ?. background ) } 
@@ -120,8 +119,8 @@ export const CustomThemeSelector: React.FC = observer(() => {
120119                      placeholder = "#c5c5c5" 
121120                      className = "w-full" 
122121                      style = { { 
123-                         backgroundColor : watch ( "background " ) , 
124-                         color : value , 
122+                         backgroundColor : watch ( "text " ) , 
123+                         color : watch ( "background" ) , 
125124                      } } 
126125                      hasError = { Boolean ( errors ?. text ) } 
127126                    /> 
@@ -146,7 +145,7 @@ export const CustomThemeSelector: React.FC = observer(() => {
146145                      placeholder = "#3f76ff" 
147146                      className = "w-full" 
148147                      style = { { 
149-                         backgroundColor : value , 
148+                         backgroundColor : watch ( "primary" ) , 
150149                        color : watch ( "text" ) , 
151150                      } } 
152151                      hasError = { Boolean ( errors ?. primary ) } 
@@ -172,7 +171,7 @@ export const CustomThemeSelector: React.FC = observer(() => {
172171                      placeholder = "#0d101b" 
173172                      className = "w-full" 
174173                      style = { { 
175-                         backgroundColor : value , 
174+                         backgroundColor : watch ( "sidebarBackground" ) , 
176175                        color : watch ( "sidebarText" ) , 
177176                      } } 
178177                      hasError = { Boolean ( errors ?. sidebarBackground ) } 
@@ -200,8 +199,8 @@ export const CustomThemeSelector: React.FC = observer(() => {
200199                      placeholder = "#c5c5c5" 
201200                      className = "w-full" 
202201                      style = { { 
203-                         backgroundColor : watch ( "sidebarBackground " ) , 
204-                         color : value , 
202+                         backgroundColor : watch ( "sidebarText " ) , 
203+                         color : watch ( "sidebarBackground" ) , 
205204                      } } 
206205                      hasError = { Boolean ( errors ?. sidebarText ) } 
207206                    /> 
0 commit comments