postcss-important-startstop
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "postcss-important-startstop", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "PostCSS plugin which adds !important based on simple start/stop annotations", | ||
@@ -19,3 +19,2 @@ "keywords": [ | ||
"dependencies": { | ||
"css-annotation": "^0.6.2", | ||
"postcss": "^6.0.1" | ||
@@ -22,0 +21,0 @@ }, |
@@ -12,17 +12,25 @@ # postcss-important-startstop [![Build Status][ci-img]][ci] | ||
## What it *not* does for you | ||
It does not check **not** check if important is allowed for that particular declaration. | ||
- Maybe use https://github.com/crimx/postcss-safe-important | ||
It does not allow adding ```!important``` to just some declarations | ||
It does **not** allow adding ```!important``` to just some declarations | ||
- Maybe use https://yarnpkg.com/en/package/postcss-important | ||
This plugin is useful for a Utility-Based aproach to CSS. | ||
- http://davidtheclark.com/on-utility-classes/ | ||
- https://adamwathan.me/css-utility-classes-and-separation-of-concerns/ | ||
It does **not** remove the comments you had to add | ||
- Use an other plugin for that | ||
## Why should i use Important? | ||
## Why should I use Important? | ||
This plugin is useful for a Utility-based approach to CSS. | ||
- https://css-tricks.com/when-using-important-is-the-right-choice/ | ||
- https://csswizardry.com/2016/05/the-importance-of-important/ | ||
You need some more Info about Utility-based CSS? | ||
See these links. I can highly recommend the article by Adam. | ||
- https://adamwathan.me/css-utility-classes-and-separation-of-concerns/ | ||
- http://davidtheclark.com/on-utility-classes/ | ||
## Examples | ||
@@ -29,0 +37,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
26166
1
14
0
68
- Removedcss-annotation@^0.6.2
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedcss-annotation@0.6.2(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedjs-base64@2.6.4(transitive)
- Removedpostcss@5.2.18(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.03.2.3(transitive)