Please exclude data: url beginnings on relative path transformation. Sassify converts svg or base64 images inline in code.
suggested regex: #(url\((?![‘”]?(?:https?:|data:|/))[‘”]?)#miu
]]>This is what I’m using, but just getting a white screen on the frontend.. Any advice? Thanks:)
function mytheme_enqueue_scss_style() {
wp_enqueue_style( 'mytheme-options-style', get_stylesheet_directory_uri() . '/scss/style.scss' );
}
add_action( 'wp_enqueue_scripts', 'mytheme_enqueue_scss_style' );
]]>
Hi!
Love the plugin, variables and nesting work! However @import doesn’t seem to work?
I tried to import a _variables.scss file like so: @import: 'variables';
, however for some reason I couldn’t use the variables in that file while if I made variables in the normal style.scss, it worked… Am I doing anything wrong?