jetpack-rails 0.10.0 → 0.10.1

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: 82248d58d8ac75c8dad2f4c72e4869205449ec10
4
- data.tar.gz: 6a201d0dc1144e3e644ecbf443b1f9339719a467
3
+ metadata.gz: 54af56e4f82394ebb43e597871a5bdba24561e6d
4
+ data.tar.gz: db006b7624d673abaf0274e57565d8243e80d032
5
5
  SHA512:
6
- metadata.gz: dad5335db2896d24cb597cf79e34d67480d3f4e901d459a4a0d44bd8d7f72a1e1c9d68f107cbed31ae2ad7c1ce7de6c1b69beb5210a9ab3bff98f25f5d165382
7
- data.tar.gz: 415e7b4fb3fd28ee8f688fda0414ef58b25d326842917f5ab01c157162967937be8e180ea152edbeaeabc1804e8e7ee127b160947bdc06b2dc023c42579d9057
6
+ metadata.gz: a6ed0bd87c62df0a3473ceb2867d3ff165ac117a68c6c7cb9cb80c2b5197911815f132c146993b105e680f46c90b8bec2e1f399e5fe411778a66d5f3d608d11e
7
+ data.tar.gz: 8e1f6474f2e8cf2e1ff528865e80ebe601424727218d8894ff9a7c6fa1030f9d64c5fa9f8da755c42bcd3d1400ea4c1627c8b400e7fbcd731490c5e4b9f73005
data/CHANGELOG CHANGED
@@ -2,7 +2,7 @@
2
2
  ROADMAP
3
3
  =======
4
4
 
5
- TODO: V0.10.1
5
+ TODO: V0.10.2
6
6
  > Finish demo/documentation page for Core
7
7
  > Finish demo/documentation page for Interface
8
8
  > Add demo/documentation page for Defaults
@@ -28,6 +28,10 @@ TODO: V1.0
28
28
  ==========
29
29
  CHANGELOG:
30
30
  ==========
31
+ 0.10.1:
32
+ - Add "tint" and "shade" functions from Thoughtbot's "Bourbon."
33
+ - Use tint/shade in Buttonize mixin to avoid bright shiny color highlights
34
+
31
35
  0.10.0:
32
36
  - Change modal to use hyphenation, give it its own mixin.
33
37
  - Remove js-styles mixin and replace with modal and tipsy mixins.
@@ -1,3 +1,3 @@
1
1
  module Jetpack
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
@@ -1,6 +1,16 @@
1
1
  // UNIVERSAL MIXINS
2
2
  @mixin clearfix { &:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow:hidden; } }
3
3
 
4
+ // Add percentage of white to a color
5
+ @function tint($color, $percent){
6
+ @return mix(white, $color, $percent);
7
+ }
8
+
9
+ // Add percentage of black to a color
10
+ @function shade($color, $percent){
11
+ @return mix(black, $color, $percent);
12
+ }
13
+
4
14
  @mixin respond-to($media) {
5
15
  @if $media == desktop {
6
16
  @media screen and (min-width: 1024px) { @content; }
@@ -39,9 +49,9 @@
39
49
 
40
50
  @mixin buttonize($primaryColor, $secondaryColor) {
41
51
  @include gradient($primaryColor, $secondaryColor);
42
- text-shadow: 0 1px 0 lighten($secondaryColor, 15%);
52
+ text-shadow: 0 1px 0 tint($secondaryColor, 15%);
43
53
  border: 1px solid;
44
- border-color: darken($primaryColor, 10%) darken($secondaryColor, 8%) darken($secondaryColor, 20%);
54
+ border-color: shade($primaryColor, 10%) shade($secondaryColor, 8%) shade($secondaryColor, 20%);
45
55
  }
46
56
 
47
57
  @mixin gutter( $side: top, $style: $light-line, $size: $baseline/2 ) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetpack-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Burleson