the currentcolor property is useful for setting the color of things like icons to be the same color as the text they sit within. However, this doesn't work if the element is within a button as that does not inherit the color of the containing element.
However, what you can do is make the color of the button to be the current color.