Comparing version 1.0.0-beta-33 to 1.0.0-beta-34
{ | ||
"name": "alga-css", | ||
"version": "1.0.0-beta-33", | ||
"version": "1.0.0-beta-34", | ||
"description": "Alga CSS is a component oriented CSS toolkit for quickly reuse CSS components and it can be stored in .alga format file as a custom CSS component and also it has many built-in customizable CSS properties that can be directly inserted to HTML Element class", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -239,6 +239,14 @@ const chokidar = require('chokidar') | ||
if(!rule.params.includes(',')) { | ||
rule.append(newComponentTwo) | ||
if(config.important) { | ||
rule.replaceWith(newComponentTwo) | ||
} else { | ||
rule.append(newComponentTwo) | ||
} | ||
} else { | ||
const newLayer = layer(newComponentTwo, componentName, rule.source) | ||
root.append(newLayer) | ||
if(config.important) { | ||
root.append(newComponentTwo) | ||
} else { | ||
const newLayer = layer(newComponentTwo, componentName, rule.source) | ||
root.append(newLayer) | ||
} | ||
} | ||
@@ -245,0 +253,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
266403
3743