Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2019-10-15 01:09:17 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-10-28 13:43:37 +0300
commit29ea7cd66f4443eadf7584501cf8e138c5dd27d7 (patch)
tree076693493ca3c870c9719d99f757c6f5741d82fa /README.md
parenta975033db072db8cc625d483241169cfb6150c5a (diff)
updated readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 1ae048fdd..6157a1c5d 100644
--- a/README.md
+++ b/README.md
@@ -44,10 +44,10 @@ Then open `http://localhost:4000` in your browser.
## Adding SVGs
-Once a new SVG icon has been added to the `icons` directory, you'll need to optimize them. An npm script is used to optimize and modify the HTML source code of our SVGs.
+Once a new SVG icon has been added to the `icons` directory, you'll need to optimize them. An npm script is used to:
-1. It runs SVGO on our SVGs.
-2. Then processes the HTML, removes all attributes, and then sets new attributes and values in a particular order.
+1. Optimize our SVGs with SVGO.
+2. Modify the SVGs source HTML, removing all attributes before setting new attributes and values in our preferred order.
Use `npm run icons` to run the script, then commit the results in a new branch for updating.