Skip to content

Commit 1057637

Browse files
committed
[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 #1021 Signed-off-by: Christopher du Toit (chto) <[email protected]>
1 parent 6ea1b24 commit 1057637

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

theme_avantgarde/views/customizations.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,8 @@
280280
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
281281
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
282282
</xpath>
283-
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
284-
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
285-
</xpath>
286283
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
287-
<attribute name="class" add="o_cc o_cc3" separator=" "/>
288-
</xpath>
289-
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
290-
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
284+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
291285
</xpath>
292286
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
293287
<div class="o_we_bg_filter bg-black-50"/>

0 commit comments

Comments
 (0)