Skip to content

Commit

Permalink
fix: arrow not getting white when background is primary
Browse files Browse the repository at this point in the history
  • Loading branch information
federico-ntr committed May 3, 2023
1 parent b33854b commit f594187
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/scss/custom/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}
}
Expand All @@ -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");
}
}
}
}
Expand Down

0 comments on commit f594187

Please sign in to comment.