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
  • Loading branch information
mano-odoo committed Dec 4, 2024
1 parent 429edc6 commit 84cd672
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 @@ -281,14 +281,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 84cd672

Please sign in to comment.