@shopify/slate-cssvar-loader

Finds CSS custom properties (variables) in your stylesheets and replaces them with their corresponding liquid variable

Usage no npm install needed!

<script type="module">
  import shopifySlateCssvarLoader from 'https://cdn.skypack.dev/@shopify/slate-cssvar-loader';
</script>

README

npm version

@shopify/slate-cssvar-loader

Finds CSS custom properties (variables) in your stylesheets and replaces them with their corresponding Liquid variable found in the provided cssVariablesPath option.

For more information, visit the documentation website.