Get Pseudo-Element Properties with JavaScript From https://davidwalsh.name/pseudo-element
var color = window.getComputedStyle( document.querySelector('.element'), ':before' ).getPropertyValue('color')