File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ const DesignColorsPanel = forwardRef(
104
104
}
105
105
} ) ;
106
106
const paletteObj = {
107
+ base : palette ?. base ,
107
108
primary : palette ?. primary ,
108
109
secondary : palette ?. secondary || palette ?. base ,
109
110
tertiary : palette ?. tertiary || palette ?. primary ,
@@ -227,12 +228,10 @@ const DesignColorsPanel = forwardRef(
227
228
const colorPaletteIndex =
228
229
selectedPalette === 'custom' ? 0 : selectedPalette ;
229
230
const selectedPaletteColors = colorPalettes [ colorPaletteIndex ] ;
230
-
231
231
selectedPaletteColors . primary = selectedColor . primary ;
232
232
selectedPaletteColors . secondary = selectedColor . secondary ;
233
- selectedPaletteColors . base = selectedColor . secondary ;
233
+ selectedPaletteColors . base = selectedColor . base ;
234
234
selectedPaletteColors . tertiary = selectedColor . tertiary ;
235
-
236
235
activeColor . palette = convertColorSchema ( selectedPaletteColors ) ;
237
236
currentData . sitegen . homepages . data [ slug ] . color = activeColor ;
238
237
setCurrentOnboardingData ( currentData ) ;
You can’t perform that action at this time.
0 commit comments