postcss-themed icon indicating copy to clipboard operation
postcss-themed copied to clipboard

Add Modules Hash Function

Open tylerkrupicka opened this issue 4 years ago • 1 comments

This package supports modules, basically a way to create unique names for the CSS variables created by this plugin. This makes sure that if you have two versions of a package using theme variables, they do not override each other. While we have an example of how to set this up listed, it would be interesting to add a configuration option that turns on modules without creating your own function.

Basically, a default modules function that you can use instead of supplying your own.

This function would need to be tested and produce different hashes between different versions of the same file.

tylerkrupicka avatar Sep 30 '20 23:09 tylerkrupicka

picking this one up

enzozafra avatar Oct 05 '20 20:10 enzozafra