remixicon 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +8 -0
- data/README.md +42 -0
- data/Rakefile +4 -0
- data/assets/fonts/remixicon.eot +0 -0
- data/assets/fonts/remixicon.svg +6835 -0
- data/assets/fonts/remixicon.ttf +0 -0
- data/assets/fonts/remixicon.woff +0 -0
- data/assets/fonts/remixicon.woff2 +0 -0
- data/assets/stylesheets/remixicon.css +2317 -0
- data/lib/remixicon/engine.rb +15 -0
- data/lib/remixicon/version.rb +6 -0
- data/lib/remixicon.rb +73 -0
- data/remixicon.gemspec +31 -0
- metadata +73 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 017dce6532731f65c841fb9cd981cfd1806da1c91b0c800a097e427c653fcbad
|
4
|
+
data.tar.gz: a8a205c4a1e9c1ee84a439f7d825200e922bc4d47927c2a5c30696d53443fde5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 662654dfe00ef3d0b905ccb180e8603dc1afe39ddb6e454e7bc6126b3756839cc8edb5382c05b6f0a0c1d3a583b80ec289b7b692c730721f19909531a6035e0b
|
7
|
+
data.tar.gz: 24bddd110d0213fa9e5247a469c356fde2fef106215f41238bf0be462723eea7bd146526a32647a3f7e61a23b2ff964fcc5aaf0d3d0c3b9450aa6429fe3bf066
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Remixicon Ruby Gem
|
2
|
+
|
3
|
+
Remixicon rubygem for Rails / Sprockets / Hanami / etc
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'remixicon'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install remixicon
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Ensure that `sprockets-rails` is at least v2.3.2.
|
24
|
+
|
25
|
+
Import Remixicon styles in `app/assets/stylesheets/application.scss`:
|
26
|
+
|
27
|
+
```scss
|
28
|
+
@import "remixicon";
|
29
|
+
```
|
30
|
+
|
31
|
+
Make sure the file has `.scss` extension (or `.sass` for Sass syntax). If you have just generated a new Rails app,
|
32
|
+
it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so rename it:
|
33
|
+
|
34
|
+
```console
|
35
|
+
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
|
36
|
+
```
|
37
|
+
|
38
|
+
Then, remove all the `*= require` and `*= require_tree` statements from the Sass file. Instead, use `@import` to import Sass files.
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/hfpp2012/remixicon-rails.
|
data/Rakefile
ADDED
Binary file
|