Passing settings/schema values to css

mwpaulsen86
New Member
3 0 0

It looks like shopify has taken away the theme.css.liquid file from the assets folder and replaced it with a regular css file (theme.css).  I'm wondering how to use variables/values from schema settings in the css file now.  Ex: I used to be able to put in something like color: {{settings.my_whatever_color}}; but of course that doesn't work in regular css.  It looks like they're using more standard css variables now, ex: color: var(--color-body-text); but I can't figure out how that is getting the information from the schema settings.  I'm somewhat familiar with basic html/css/js and I'm trying to learn the shopify system, but it seems like most of the tutorials are obsolete a few months after they come out

0 Likes