Dynamic Background Color for Deck component cards

Hi Josh - It would be lovely to repurpose that javascript, but I’m not sure how to do that with cards since there is no place to insert a snippet. 

This post references a potentially issue, but has to resolution yet. 
https://community.skuid.com/t/brooklyn-deck-background-question