Comparing version 8.0.0-beta5 to 8.0.0
@@ -10,3 +10,3 @@ # Contributing to Basscss | ||
If you’re new to Basscss, be sure to read the [Design Principles](http://www.basscss.com/docs/reference/principles/). | ||
If you’re new to Basscss, be sure to read the [Design Principles](docs/DesignPrinciples.md). | ||
Basscss is just as much about what’s not included, as it is about what it has. | ||
@@ -13,0 +13,0 @@ |
@@ -8,15 +8,9 @@ | ||
## Alternative Installation | ||
### CDN | ||
*Or* use a link from [npmcdn.com](https://npmcdn.com/basscss/css/basscss.min.css). | ||
For a simple, zero-configuration option, use a link from [npmcdn.com](https://npmcdn.com/basscss/css/basscss.min.css). | ||
### Bower | ||
Although it’s not listed in the Bower registry, any GitHub repo can be installed with bower. | ||
```html | ||
<link href="https://npmcdn.com/basscss@8.0.0/css/basscss.min.css" rel="stylesheet"> | ||
``` | ||
bower install basscss/basscss | ||
``` | ||
@@ -23,0 +17,0 @@ ## Usage with PostCSS |
{ | ||
"name": "basscss", | ||
"version": "8.0.0-beta5", | ||
"version": "8.0.0", | ||
"description": "Low-level CSS toolkit", | ||
@@ -9,3 +9,4 @@ "style": "src/basscss.css", | ||
"minify": "postcss -u cssnano css/basscss.css -o css/basscss.min.css", | ||
"prepublish": "mkdir -p css && npm run build && npm run minify", | ||
"important": "postcss -u postcss-importantly css/basscss.css -o css/basscss-important.css", | ||
"prepublish": "mkdir -p css && npm run build && npm run important && npm run minify", | ||
"start": "postcss -c postcss.config.js -w", | ||
@@ -18,5 +19,5 @@ "karma": "karma start", | ||
"dependencies": { | ||
"basscss-align": "^1.0.1", | ||
"basscss-align": "^1.0.2", | ||
"basscss-border": "^4.0.2", | ||
"basscss-flexbox": "^1.0.0-beta6", | ||
"basscss-flexbox": "^1.0.0", | ||
"basscss-grid": "^2.0.0", | ||
@@ -27,5 +28,5 @@ "basscss-hide": "^1.0.1", | ||
"basscss-padding": "^1.1.3", | ||
"basscss-position": "^2.0.2", | ||
"basscss-type-scale": "^1.0.3", | ||
"basscss-typography": "^3.0.0" | ||
"basscss-position": "^2.0.3", | ||
"basscss-type-scale": "^1.0.5", | ||
"basscss-typography": "^3.0.2" | ||
}, | ||
@@ -61,3 +62,5 @@ "devDependencies": { | ||
"postcss-import": "^7.1.3", | ||
"postcss-importantly": "0.0.7", | ||
"postcss-loader": "^0.8.0", | ||
"postcss-remove-root": "0.0.2", | ||
"postcss-reporter": "^1.3.0", | ||
@@ -64,0 +67,0 @@ "style-loader": "^0.13.0", |
var postcss = require('postcss') | ||
// Not currently implemented | ||
var removeRoot = postcss.plugin('remove-root', function(opts) { | ||
opts = opts || {} | ||
return function(root) { | ||
root.eachRule(function(rule) { | ||
if (rule.selector === ':root') { | ||
rule.removeSelf() | ||
} | ||
}) | ||
} | ||
}) | ||
module.exports = { | ||
@@ -24,2 +12,3 @@ use: [ | ||
'postcss-discard-comments', | ||
'postcss-remove-root', | ||
'autoprefixer', | ||
@@ -26,0 +15,0 @@ 'postcss-reporter' |
@@ -8,4 +8,2 @@ # Basscss | ||
Documentation: <http://basscss.com/docs> | ||
## Lightning-Fast Modular CSS with No Side Effects | ||
@@ -12,0 +10,0 @@ |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
175266
41
1945
0
34
63
Updatedbasscss-align@^1.0.2
Updatedbasscss-flexbox@^1.0.0
Updatedbasscss-position@^2.0.3
Updatedbasscss-type-scale@^1.0.5
Updatedbasscss-typography@^3.0.2