[FIX] website: restore color order for themes with more than 5 colors
Broken by [1] (example: in treehouse, which has currently 6 colors, primary was after secondary). [1]: https://github.com/odoo/odoo/commit/6fb4ed44a04008a81f860fa24a63d444d70f56b6 Part of https://github.com/odoo/odoo/pull/49993 X-original-commit: 6aab08cbdbc3459d2cd2c1fb1f1f3b9f1bbaa4db
This commit is contained in:
@@ -632,9 +632,9 @@
|
||||
<we-button class="o_we_primary_btn" data-switch-theme="" data-no-preview="true">Switch Theme</we-button>
|
||||
<we-row string="Main Colors">
|
||||
<we-colorpicker data-name="primary_color_opt" title="Primary" data-customize-website-color="" data-color-type="theme" data-color="primary"/>
|
||||
<we-colorpicker data-name="secondary_color_opt" title="Secondary" data-customize-website-color="" data-color-type="theme" data-color="secondary"/>
|
||||
<we-colorpicker data-name="alpha_as_primary_color_opt" data-customize-website-color="" data-color-type="theme" data-color="alpha"
|
||||
title="Changing this color will regenerate the default theme color scheme"/>
|
||||
<we-colorpicker data-name="secondary_color_opt" title="Secondary" data-customize-website-color="" data-color-type="theme" data-color="secondary"/>
|
||||
<we-colorpicker data-name="beta_as_secondary_color_opt" title="Secondary" data-customize-website-color="" data-color-type="theme" data-color="beta"/>
|
||||
</we-row>
|
||||
<we-row string="Extra Colors">
|
||||
|
||||
Reference in New Issue
Block a user