// TODO add new color mapping here and change bg-{color} to the bg-variant-{color} class, after merge of color mapping story

.infographic__title,
.infographic__text {
  .bg-brand-primary &,
  .bg-brand-secondary & {
    color: returnColorCSSVar('white');
  }

  .bg-brand-quinary & {
    color: returnColorCSSVar('brand-secondary-shade-180');
  }
}
