@@ -122,19 +122,19 @@ export const ResizableColumn = ({ children }: { children: any[] }) => {
122122
123123 if ( children . length === 1 ) {
124124 return (
125- < StyledVertContiner bgColor = { theme . palette ?. background } >
125+ < StyledVertContiner bgColor = { theme . palette ?. bg } >
126126 { children [ 0 ] }
127127 </ StyledVertContiner >
128128 ) ;
129129 }
130130
131131 if ( children . length === 2 ) {
132132 return (
133- < StyledVertContiner bgColor = { theme . palette ?. background } >
133+ < StyledVertContiner bgColor = { theme . palette ?. bg } >
134134 < ResizableVert height = { 100 / children . length } max = { 100 } snap = { [ 0 ] } >
135135 { children [ 0 ] }
136136 </ ResizableVert >
137- < StyledVertFillerContiner bgColor = { theme . palette ?. background } >
137+ < StyledVertFillerContiner bgColor = { theme . palette ?. bg } >
138138 { children [ 1 ] }
139139 </ StyledVertFillerContiner >
140140 </ StyledVertContiner >
@@ -143,7 +143,7 @@ export const ResizableColumn = ({ children }: { children: any[] }) => {
143143
144144 return (
145145 < StyledVertContiner
146- bgColor = { theme . palette ?. background }
146+ bgColor = { theme . palette ?. bg }
147147 > </ StyledVertContiner >
148148 ) ;
149149} ;
@@ -258,22 +258,22 @@ export const CollapsableResizableColumn = memo( function CollapsableResizableCol
258258
259259 // if (children.length === 1) {
260260 // return (
261- // <StyledVertContiner bgColor={theme.palette?.background }>
262- // <StyledVertFillerContiner bgColor={theme.palette?.background }>
261+ // <StyledVertContiner bgColor={theme.palette?.bg }>
262+ // <StyledVertFillerContiner bgColor={theme.palette?.bg }>
263263 // {children[0]}
264264 // </StyledVertFillerContiner>
265265 // </StyledVertContiner>
266266 // );
267267 // }
268268
269269 return (
270- < StyledVertContiner bgColor = { theme . palette ?. background } >
270+ < StyledVertContiner bgColor = { theme . palette ?. bg } >
271271 { children . slice ( 0 , children . length - 1 ) . map ( ( comp , i ) => (
272272 < ResizableVert key = { `v-cont${ i } ` } height = { 100 / children . length } max = { 100 } min = { 0 } snap = { [ 0 ] } >
273273 { comp }
274274 </ ResizableVert >
275275 ) ) }
276- < StyledVertFillerContiner bgColor = { theme . palette ?. background } >
276+ < StyledVertFillerContiner bgColor = { theme . palette ?. bg } >
277277 { children [ children . length - 1 ] }
278278 </ StyledVertFillerContiner >
279279 </ StyledVertContiner >
0 commit comments