color
This function is used to set the color of a border for the border-color property or the individual side color property according to the passed BorderContext.colorKey value like `border-{side}-color`.
example call:
border {
color { dark }
// color { "lime" }
// color { rgba(255, 0, 0, 100 }
}Parameters
value
extension function parameter to bring the predefined color values of the theme (Colors) into the scope of the functional expression