{"versions":{"4.7.0":{"name":"font-awesome-sass","version":"4.7.0","description":"Font-Awesome Sass","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/FortAwesome/font-awesome-sass.git"},"author":{"name":"FortAwesome"},"license":"MIT","bugs":{"url":"https://github.com/FortAwesome/font-awesome-sass/issues"},"homepage":"https://github.com/FortAwesome/font-awesome-sass#readme","_id":"font-awesome-sass@4.7.0","_shasum":"4eda693e915009ce00b228e0964dc5eca9bc34e1","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"anonymous","email":"63603636@qq.com"},"dist":{"shasum":"4eda693e915009ce00b228e0964dc5eca9bc34e1","size":529588,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/font-awesome-sass/-/font-awesome-sass-4.7.0.tgz","integrity":"sha512-apO2Nw3XP/Zv7fLxa+MnPnvJ/GdkH6qWrLrtN5oQrFL7RPprzHKROjN94jgyoxM+T7PQBhY9F/SwOKbBaLyXxg=="},"maintainers":[{"name":"anonymous","email":"63603636@qq.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/font-awesome-sass-4.7.0.tgz_1487664852816_0.1620723034720868"},"directories":{},"publish_time":1487664854848,"_hasShrinkwrap":false,"_cnpm_publish_time":1487664854848,"_cnpmcore_publish_time":"2021-12-17T03:09:06.957Z","contributors":[]}},"dist-tags":{"latest":"4.7.0"},"name":"font-awesome-sass","time":{"created":"2022-01-26T17:20:48.392Z","modified":"2022-01-26T17:20:48.392Z","4.7.0":"2017-02-21T08:14:14.848Z"},"readme":"# FontAwesome::Sass\n\n[![Gem Version](https://badge.fury.io/rb/font-awesome-sass.svg)](https://badge.fury.io/rb/font-awesome-sass)\n\n'font-awesome-sass' is a Sass-powered version of [FontAwesome](http://fortawesome.github.io/Font-Awesome/) for your Ruby projects and plays nicely with \n Ruby on Rails, Compass, Sprockets, etc.\n \n Refactored to support more Ruby environments with code and documentation humbly used from the excellent\n [bootstrap-sass](https://github.com/twbs/bootstrap-sass) project by the Bootstrap team \n\n## Installation\n\nPlease see the appropriate guide for your environment of choice:\n\n* [Ruby on Rails](#a-ruby-on-rails).\n* [Compass](#b-compass-without-rails) not on Rails.\n\n### a. Ruby on Rails\n\nIn your Gemfile include:\n\n```ruby\ngem 'font-awesome-sass', '~> 4.7.0'\n```\n\nAnd then execute:\n\n```sh\nbundle install\n```\n\nImport the FontAwesome styles in your `app/assets/stylesheets/application.css.scss`. The `font-awesome-sprockets` file\nincludes the sprockets assets helper Sass functions used for finding the proper path to the font file.\n\n```scss\n@import \"font-awesome-sprockets\";\n@import \"font-awesome\";\n```\n\n#### Rails Helper usage\n\nIn your view:\n\n```ruby\nicon('flag')\n# => <i class=\"fa fa-flag\"></i>\n```\n\n```ruby\nicon('flag', class: 'strong')\n# => <i class=\"fa fa-flag strong\"></i>\n```\n\n```ruby\nicon('flag', 'Font Awesome', id: 'my-icon', class: 'strong')\n# => <i id=\"my-icon\" class=\"fa fa-flag strong\"></i> Font Awesome\n```\n\nNote: the icon helper can take a hash of options that will be passed to the content_tag helper\n\n### b. Compass without Rails\n\nInstall the gem\n\n```sh\ngem install font-awesome-sass\n```\n\nIf you have an existing Compass project:\n\n```ruby\n# config.rb:\nrequire 'font-awesome-sass'\n```\n\nImport the FontAwesome styles\n\n```scss\n@import \"font-awesome-compass\";\n@import \"font-awesome\";\n```\n\n## Upgrading from FontAwesome::Sass 3.x\n\nPrepend the `fa` class to existing icons:\n\n3.x Syntax\n\n```html\n<i class=\"icon-github\"></i>\n```\n\n4.x Syntax\n\n```html\n<i class=\"fa fa-github\"></i>\n```","users":{}}