Skip to content

Commit

Permalink
[FIX] theme_avantgarde: s_carousel text contrast
Browse files Browse the repository at this point in the history
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 #1021

Signed-off-by: Christopher du Toit (chto) <[email protected]>
  • Loading branch information
mano-odoo committed Feb 20, 2025
1 parent 6ea1b24 commit 1057637
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions theme_avantgarde/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,14 +280,8 @@
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
</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">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
<div class="o_we_bg_filter bg-black-50"/>
Expand Down

0 comments on commit 1057637

Please sign in to comment.