Where design decisions actually live

I recreated iMessage in React Native and again in SwiftUI. One started from a Figma design system. The other started from Apple's documentation. The comparison changed how I think about where design decisions belong.