pub fn source_css(source: &BackgroundSource) -> String
A CSS background value for a [BackgroundSource] — used both for the swatch previews and (eventually) the live canvas backdrop.
background
BackgroundSource