[FIX] theme_avantgarde: s_carousel text contrast

The `o_cc3` is rendering a white color depending on the the palette.
Using `o_cc5` ensure a white text on most palettes.

task-4381722

closes odoo/design-themes#1021

Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
mano-odoo
2024-12-04 15:58:04 +01:00
parent 6ea1b24e5e
commit 10576376c6
+1 -7
View File
@@ -280,14 +280,8 @@
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes"> <xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/> <attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes"> <xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/> <attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace"> <xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
<div class="o_we_bg_filter bg-black-50"/> <div class="o_we_bg_filter bg-black-50"/>