diff --git a/README.md b/README.md index 5a482b0..d00dc97 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Look at [postcss-map] for big complicated configs. --- -  PostCSS Safe Parser is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups. +  PostCSS Simple Variables is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups. --- @@ -55,7 +55,7 @@ Look at [postcss-map] for big complicated configs. There is special syntax for using variables inside CSS words: ```pcss -$prefix: my-company-widget +$prefix: my-company-widget; $prefix { } @@ -200,12 +200,11 @@ Callback on unknown variable name. It receives the node instance, variable name and PostCSS Result object. ```js - require('postcss-simple-vars')({ - unknown (node, name, result) { - node.warn(result, 'Unknown variable ' + name); - } - }) -]) +require('postcss-simple-vars')({ + unknown(node, name, result) { + node.warn(result, 'Unknown variable ' + name) + } +}) ``` ### `silent`