Files
design-themes/theme_bistro/views/snippets/s_text_image.xml
T
Soukéina Bojabza 7d193e0560 [IMP] theme_*: remove some snippets hard coded background color
This is the direct following of the PR [1].

Some themes "hard code" the background colors of some snippets, which
prevents the user to change it with a preset color without deleting the
current background first.

This commit does two things:
- remove the problematic hard coded background colors;
- replace the colors that are removed by some themes by the ones that
were set in [1] (for the searchbar and text highlight snippets).

[1]: https://github.com/odoo/odoo/pull/90749

task-2824393

closes odoo/design-themes#563

Related: odoo/odoo#90749
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-11 18:30:06 +02:00

19 lines
748 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb80" remove="o_cc o_cc2 pt32 pb32" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_text_image_default_image/web_editor/basic/bsc_square_rounded_2.svg</attribute>
<attribute name="data-file-name">text_image.svg</attribute>
<attribute name="data-shape">web_editor/basic/bsc_square_rounded_2</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
</template>
</odoo>