google / automotive-design-compose

Automotive Design for Compose is an extension to Jetpack Compose that allows every screen, component, and overlay of your Android App to be defined in Figma, and lets you see the latest changes to your Figma design in your app, immediately!
https://google.github.io/automotive-design-compose/
Apache License 2.0
101 stars 14 forks source link

Cherrypick: Check size of stops of gradient background (#1036) #1037

Closed timothyfroehlich closed 2 weeks ago

timothyfroehlich commented 2 weeks ago

Figma is returning empty stops for gradients. Gradients can also have a single stop set. Also add logging when size is smaller than 2.

github-actions[bot] commented 2 weeks ago

Snapshot diff report vs base branch: stable/0.26.x Last updated: Thu Apr 25 10:52:54 PDT 2024, Sha: 52b552d199492a71d05a5112c67cc736bdbf15c4 No differences detected