@zimbra/x-ui
Advanced tools
Comparing version 4.11.0 to 5.0.0
@@ -1,2 +0,2 @@ | ||
let iconVariables = `/* THIS FILE IS AUTOGENERATED - DO NOT MODIFY */` + '\n'; | ||
let cssIconVariables = ''; | ||
let fs = require("fs"); | ||
@@ -7,5 +7,8 @@ let contents = fs.readFileSync("./icons/selection.json", 'UTF-8'); | ||
icoMoon.icons.forEach(icon => { | ||
iconVariables += '@zimbra-icon-' + icon.properties.name + ': "\\' + Math.abs(icon.properties.code).toString(16) + '";\n'; | ||
cssIconVariables += `\t--zimbra-icon-${icon.properties.name}: "\\${Math.abs(icon.properties.code).toString(16)}";\n`; | ||
}); | ||
fs.writeFileSync('./icon-variables.less', iconVariables, 'UTF-8'); | ||
const cssFileFormat = `/* THIS FILE IS AUTOGENERATED - DO NOT MODIFY */ \n:root {\n${cssIconVariables}}`; | ||
fs.writeFileSync('./icon-variables.css', cssFileFormat, 'UTF-8'); | ||
{ | ||
"name": "@zimbra/x-ui", | ||
"version": "4.11.0", | ||
"version": "5.0.0", | ||
"description": "LESS mixins, CSS variables, and icons used by the Zimbra X client and Zimbra X compatible zimlets", | ||
@@ -5,0 +5,0 @@ "main": "index.less", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
645402
342