Some snippets have a "hard coded" background color which doesn't change when we want to put a preset color (theme). We have to delete the back- ground first before being able to choose a preset color. This commit fixes this behaviour by putting a preset color by default on the concerned snippets (instead of a fixed color). These snippets are searchbar and text highlight. task-2824393 closes odoo/odoo#103123 X-original-commit: 4a1442679bb1058d08428e08bec3433e968fb64b Related: odoo/design-themes#604 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
20 lines
629 B
XML
20 lines
629 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template name="Text Highlight" id="s_text_highlight">
|
|
<div class="s_text_highlight o_colored_level o_cc o_cc3 my-3 text-center w-100">
|
|
<div class="container">
|
|
<h3>Text Highlight</h3>
|
|
<p>Put the focus on what you have to say!</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<record id="website.s_text_highlight_000_scss" model="ir.asset">
|
|
<field name="name">Text highlight 000 SCSS</field>
|
|
<field name="bundle">web.assets_frontend</field>
|
|
<field name="path">website/static/src/snippets/s_text_highlight/000.scss</field>
|
|
</record>
|
|
|
|
</odoo>
|