If you mean to change the color of the shapes are created by ::after
pseudo element;
Since you have set the border-color
property on each .bub
element, you could simply use inherit
value for the :after
pseudo element as follow:
.bub.left:after {
border-color: transparent inherit;
}
From the MDN:
The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.