Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-important-startstop

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-important-startstop - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

.idea/inspectionProfiles/Project_Default.xml

3

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc