From f5941879fc0d1536148beceb4e4b1ea8fd86e62c Mon Sep 17 00:00:00 2001 From: federico-ntr <35468654+federico-ntr@users.noreply.github.com> Date: Wed, 3 May 2023 09:42:14 +0200 Subject: [PATCH] fix: arrow not getting white when background is primary --- src/scss/custom/_accordion.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/custom/_accordion.scss b/src/scss/custom/_accordion.scss index 15519e55c1..dbb8bbe102 100644 --- a/src/scss/custom/_accordion.scss +++ b/src/scss/custom/_accordion.scss @@ -38,6 +38,9 @@ $arrow-size: $font-size-base * 0.5; &:before { color: $white; } + &:after { + content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath fill='#{url-friendly-color($white)}' d='M12,10.3l4.8,4.8c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1c0,0,0,0,0,0l-4.8-4.8c-0.6-0.6-1.5-0.6-2.1,0L6.2,14c-0.3,0.3-0.3,0.8,0,1c0,0,0,0,0,0c0.3,0.3,0.8,0.3,1.1,0L12,10.3z'/%3E%3C/g%3E%3C/svg%3E"); + } } } } @@ -52,6 +55,9 @@ $arrow-size: $font-size-base * 0.5; &:before { color: $white; } + &:after { + content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath fill='#{url-friendly-color($white)}' d='M12,10.3l4.8,4.8c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1c0,0,0,0,0,0l-4.8-4.8c-0.6-0.6-1.5-0.6-2.1,0L6.2,14c-0.3,0.3-0.3,0.8,0,1c0,0,0,0,0,0c0.3,0.3,0.8,0.3,1.1,0L12,10.3z'/%3E%3C/g%3E%3C/svg%3E"); + } } } }