The finishing touch on any metal roofing system is the trim that ties all the roofing components together. Typically all trim parts that are exposed are manufactured to match the color of the roof panels.
Click on the letters in the diagram below to see a close-up detail of the trim element.