As --#{$prefix}border-color seems to work well, here is a proposal to use the newly added CSS variables in the components.
--#{$prefix}border-color