Removed the postcss-css-variables package and code from shoelace.js

This commit is contained in:
Jeremy Wagner
2017-08-01 09:16:52 -05:00
parent c10c0b478c
commit 0374f5870f
5 changed files with 13 additions and 88 deletions

22
dist/shoelace.css vendored

File diff suppressed because one or more lines are too long

View File

@@ -31,7 +31,7 @@
<p>
Shoelace is highly customizable through CSS variables. It doesnt require Less, Sass, or any
preprocessing at all. The minified version is only
<span data-minifiedSize>18.8KB</span> and much smaller when gzipped.
<span data-minifiedSize>31.4KB</span> and much smaller when gzipped.
</p>
<p>
Just link to <code>shoelace.css</code> and add customizations to your stylesheet.

73
package-lock.json generated
View File

@@ -437,12 +437,6 @@
"integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
"dev": true
},
"extend": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend/-/extend-2.0.1.tgz",
"integrity": "sha1-HugBBonnOV/5RIJByYZSvHWagmA=",
"dev": true
},
"fd-slicer": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
@@ -1000,73 +994,6 @@
}
}
},
"postcss-css-variables": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/postcss-css-variables/-/postcss-css-variables-0.7.0.tgz",
"integrity": "sha1-SqWO6zyFmm8JCQE6sXvspWZSh/0=",
"dev": true,
"requires": {
"escape-string-regexp": "1.0.5",
"extend": "2.0.1",
"postcss": "5.2.17"
},
"dependencies": {
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
"ansi-styles": "2.2.1",
"escape-string-regexp": "1.0.5",
"has-ansi": "2.0.0",
"strip-ansi": "3.0.1",
"supports-color": "2.0.0"
},
"dependencies": {
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
}
}
},
"has-flag": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
"integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
"dev": true
},
"postcss": {
"version": "5.2.17",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.17.tgz",
"integrity": "sha1-z09Ze4ZNZcikkrLqvp1wbIecOIs=",
"dev": true,
"requires": {
"chalk": "1.1.3",
"js-base64": "2.1.9",
"source-map": "0.5.6",
"supports-color": "3.2.3"
}
},
"supports-color": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
"integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
"dev": true,
"requires": {
"has-flag": "1.0.0"
}
}
}
},
"postcss-discard-comments": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz",

View File

@@ -18,7 +18,6 @@
"dotenv": "^4.0.0",
"fs": "0.0.1-security",
"postcss": "^6.0.8",
"postcss-css-variables": "^0.7.0",
"postcss-import": "^10.0.0",
"s3": "^4.4.0"
},

View File

@@ -12,7 +12,6 @@ const S3 = require('s3');
const PostCSS = require('postcss');
const Autoprefixer = require('autoprefixer');
const AtImport = require('postcss-import');
const CSSVariables = require('postcss-css-variables');
const CSSnano = require('cssnano');
let source = Path.join(__dirname, 'source/css');
@@ -53,7 +52,7 @@ if(Program.build) {
PostCSS([Autoprefixer({
browsers: ["last 2 versions", "> 5%", "ie >= 11", "iOS >= 8"]
}), AtImport, CSSVariables, CSSnano({
}), AtImport, CSSnano({
safe: true
})]).process(css, {
from: inFile