evolve_styleguide 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26e53fa1246d2dac1af155639e16a853e02510a4
4
- data.tar.gz: 4115bf9d6d997fa99176de5bfc8fd2d33600180d
3
+ metadata.gz: ca2d3f783bcbf38330bde56526cc564da45cd559
4
+ data.tar.gz: c6524d57a4309e70fffe854d05b8926fd0ac2056
5
5
  SHA512:
6
- metadata.gz: f5bd7730ffcfef7ed1202740c15dc157cd05bb2794b5c0b56ef7ab50dbde89637f46ae89ba385276407dab774bd520118c1f84dd8091e627cfa33ee2b2054424
7
- data.tar.gz: edb56b35bcc1fa1932e59bd154d2d7669dcbf1a2ade17a3e9dac0139eabed94973a56b7099a211f56c51f71d4629132e00e4348f4be7f3a858d72bb16a3add2f
6
+ metadata.gz: 602f8ccdd4d972940b3f7d22f65c3d07670572583acbf7c13526000f5365443d2b1b10e17b6df4a3cd8f82091ad848bd36c2e1838ca3c82f8394cdff56b8157b
7
+ data.tar.gz: 4fd813f5fe69ed67ac5958a269f51d20bad62b640476c8a88d79f30a097cf23b19e13ce100a52c5b73556642d157f84e354169bceec41a64fae2214129ca083d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # EvolveStyleguide
2
2
 
3
- TODO: Write a gem description
3
+ A Gem to add Evolve's style guide to your Rails project!
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,12 +20,14 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- TODO: Write usage instructions here
23
+ **SASS**
24
24
 
25
- ## Contributing
25
+ Add `@import "evolve_styleguide";` to your `application.css.scss` file.
26
26
 
27
- 1. Fork it ( https://github.com/[my-github-username]/evolve_styleguide/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
27
+ **JS**
28
+
29
+ Add `//= require evolve_styleguide` to your `application.js` file.
30
+
31
+ **Images**
32
+
33
+ Reference images like you normally would from the asset pipeline. Example: `image_path("evolve-icons.svg")`
@@ -10,9 +10,7 @@
10
10
  }
11
11
  }
12
12
 
13
- /*********************
14
- GRID WIDTH
15
- *********************/
13
+ //** GRID WIDTH *********************/
16
14
  @mixin gridGen($colCount, $marginSize, $slug){
17
15
 
18
16
  @for $i from 1 through $colCount{
@@ -26,17 +24,13 @@ GRID WIDTH
26
24
 
27
25
  }
28
26
 
29
- /*********************
30
- CALC
31
- *********************/
27
+ //** CALC *********************/
32
28
  @mixin calc($property, $expression) {
33
29
  #{$property}: calc(#{$expression});
34
30
  #{$property}: -webkit-calc(#{$expression});
35
31
  }
36
32
 
37
- /*********************
38
- FULLSCREEN
39
- *********************/
33
+ //** FULLSCREEN *********************/
40
34
  @mixin absoluteFull($size){
41
35
  position: absolute;
42
36
  top: $size;
@@ -45,9 +39,7 @@ FULLSCREEN
45
39
  left: $size;
46
40
  }
47
41
 
48
- /*********************
49
- TRANSITION
50
- *********************/
42
+ //** TRANSITION *********************/
51
43
  @mixin transition( $type: 'all', $duration: 0.15s, $ease: 'linear' ){
52
44
  -moz-transition: $type $duration $ease;
53
45
  -webkit-transition: $type $duration $ease;
@@ -55,9 +47,7 @@ TRANSITION
55
47
  transition: $type $duration $ease;
56
48
  }
57
49
 
58
- /*********************
59
- BORDER RADIUS
60
- *********************/
50
+ //** BORDER RADIUS *********************/
61
51
  @mixin border-radius( $tl, $tr, $br, $bl ) {
62
52
  -moz-border-radius: $tl $tr $br $bl;
63
53
  -webkit-border-radius: $tl $tr $br $bl;
@@ -65,9 +55,7 @@ BORDER RADIUS
65
55
  border-radius: $tl $tr $br $bl;
66
56
  }
67
57
 
68
- /*********************
69
- BORDER RADIUS - Even
70
- *********************/
58
+ //** ROUNDED *********************/
71
59
  @mixin rounded($radius){
72
60
  -moz-border-radius: $radius;
73
61
  -webkit-border-radius: $radius;
@@ -75,9 +63,7 @@ BORDER RADIUS - Even
75
63
  border-radius: $radius;
76
64
  }
77
65
 
78
- /*********************
79
- BOX SHADOW
80
- *********************/
66
+ //** BOX SHADOW *********************/
81
67
  @mixin box-shadow( $xoffset: 0, $yoffset: 0, $spread: 0, $color: rgba(0,0,0,0.8) ) {
82
68
  -moz-box-shadow: $xoffset $yoffset $spread $color;
83
69
  -webkit-box-shadow: $xoffset $yoffset $spread $color;
@@ -85,9 +71,7 @@ BOX SHADOW
85
71
  box-shadow: $xoffset $yoffset $spread $color;
86
72
  }
87
73
 
88
- /*********************
89
- TRIANGLES
90
- *********************/
74
+ //** PURE CSS TRIANGLES *********************/
91
75
  @mixin triangle ( $direction, $size, $color ) {
92
76
 
93
77
  width: 0;
@@ -120,9 +104,7 @@ TRIANGLES
120
104
  }
121
105
  }
122
106
 
123
- /*********************
124
- Background Size
125
- *********************/
107
+ //** BACKGROUND SIZE *********************/
126
108
  @mixin background-size( $size: '100%' ) {
127
109
  -webkit-background-size: $size;
128
110
  -moz-background-size: $size;
@@ -130,18 +112,14 @@ Background Size
130
112
  background-size: $size;
131
113
  }
132
114
 
133
- /*********************
134
- Transform
135
- *********************/
115
+ //** TRANSFORM *********************/
136
116
  @mixin transform( $transform: '' ){
137
117
  -webkit-transform: $transform;
138
118
  -ms-transform: $transform;
139
119
  transform: $transform;
140
120
  }
141
121
 
142
- /*********************
143
- CSS Gradient
144
- *********************/
122
+ //** CSS GRADIENT *********************/
145
123
  //Prefixes definition
146
124
  $webkit:true;
147
125
  $o:true;
@@ -149,7 +127,6 @@ $moz:true;
149
127
  $w3:true;
150
128
  $ms:true;
151
129
 
152
- //Gradient Mixin
153
130
  @mixin gradient($mode,$direction,$from,$to,$oldDirection:null){
154
131
 
155
132
  @if $webkit == true {
@@ -172,9 +149,7 @@ $ms:true;
172
149
  }
173
150
  }
174
151
 
175
- /*********************
176
- KEYFRAMES
177
- *********************/
152
+ //** KEYFRAMES *********************/
178
153
  @mixin keyframes($animation_name) {
179
154
  @-webkit-keyframes #{$animation-name} {
180
155
  @content;
@@ -189,9 +164,7 @@ KEYFRAMES
189
164
  }
190
165
  }
191
166
 
192
- /*********************
193
- ANIMATION
194
- *********************/
167
+ //** ANIMATION *********************/
195
168
  @mixin animation($name, $duration, $ease, $delay) {
196
169
  -webkit-animation: $name $duration $ease $delay;
197
170
  -moz-animation: $name $duration $ease $delay;
@@ -1,3 +1,3 @@
1
1
  module EvolveStyleguide
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evolve_styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Brannon