Thanks for publishing Marx! When using it on a side project I ran into some minor inconveniences consuming it as a dependency. Sharing in case you want it.
Parametise derived colours - i.e.: Button hover was still hard coded so overriding the $primary colour in my own SCSS was only partially successful
Use the node-sass includePaths config to locate the sanitize dependency instead of referencing a relative path. Since a flattened dependency tree will place the dependency alongside the marx-css folder, the relative path is not reliable. Also fixes #36 assuming others configure node-sass similarly.
Hi Matthew,
Thanks for publishing Marx! When using it on a side project I ran into some minor inconveniences consuming it as a dependency. Sharing in case you want it.
$primary
colour in my own SCSS was only partially successfulincludePaths
config to locate the sanitize dependency instead of referencing a relative path. Since a flattened dependency tree will place the dependency alongside the marx-css folder, the relative path is not reliable. Also fixes #36 assuming others configure node-sass similarly.