Repository: SamHerbert/SVG-Loaders Branch: master Commit: 561eacac2f46 Files: 5 Total size: 7.8 KB Directory structure: gitextract_99qxyb2w/ ├── .gitignore ├── LICENSE.md ├── README.md ├── bower.json └── index.html ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .DS_Store test/ ================================================ FILE: LICENSE.md ================================================ The MIT License (MIT) Copyright (c) 2014 Sam Herbert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ Example =========== All loaders may be previewed at: http://samherbert.net/svg-loaders NOTE: Chrome 45 intended to deprecate SMIL icons but has since [suspended](https://groups.google.com/a/chromium.org/g/blink-dev/c/5o0yiO440LM/m/mHtmsQxf2bIJ) that deprecation. Usage =========== [Download](https://github.com/SamHerbert/SVG-Loaders/archive/master.zip) or `bower install svg-loaders` ```html ``` An icon's color can be manipulated by changing the `fill` attribute in the SVG file. ``` ``` Note: Not all browsers support SVG, or more specifically, animated SVGs. Check (http://caniuse.com/#feat=svg-smil) to make sure you're good to go. If not, you may want to implement a fallback. Minify =========== All SVG files are fairly small in size, but you can make them even smaller by minifying with something like [SVGO](https://github.com/svg/svgo). Adaptations =========== [React components by ajwann](https://github.com/ajwann/svg-loaders-react) ================================================ FILE: bower.json ================================================ { "name": "SVG-Loaders", "homepage": "https://github.com/SamHerbert/SVG-Loaders", "description": "Loading icons and small animations built purely in SVG, no CSS or JS.", "license": "MIT", "private": false, "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests", "site-assets", "index.html" ], "keywords": [ "progress", "svg", "loaders", "loading", "spinners", "animated" ] } ================================================ FILE: index.html ================================================ SVG Loaders - Sam Herbert
Download Tweet
Made by Sam. For everyone.