shipyard-framework 0.5.59 → 0.5.60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1397c6a7151355847d92e5cca777132ef0cea26f21ab9635a414dc510a8b5c2
4
- data.tar.gz: aa6baecbaeab83f4fa9e3c20bca82f0a6a9a600bb84d1dfe5566cb69c80053a8
3
+ metadata.gz: c4a8192f5f246275ac51ac2e2b50e289dae418115dc2ddc12be2a947b038c14f
4
+ data.tar.gz: 109582478cbeee2b27d58fb8d7ca7d97b289f976fc20ff78eac9dcb387e1f91b
5
5
  SHA512:
6
- metadata.gz: 5ba2ff809fc5199b05729cb89d19c1c9d622f56c025229163172fbe6f23b5da23d2514c2dd321b18424270c9f4d720582a6e248165b7957f5b831a5fca333d58
7
- data.tar.gz: e233b36d92fb2c42a041893a9b572b86002a4de64992af0f542ea054930ccac63b3fcd26aad4b98ce1b6dcfde4d8db7b6582aa23ccd6130626c21d30cac72214
6
+ metadata.gz: 96e18c5780a3e0d8c5c04d52bb4747f883f50c569b083ef28449b5c9e4928c1b63b53cb296cf694d81c110da29824f963ba64737e1ad7e9b665a7911b07d5dba
7
+ data.tar.gz: 023c19ceae71a863c4b25bd844e84ac9ad5d9b7604a51e35feca1816ada1246df5d029838f09870e8236062696029e5a79dca236684054b84af3f7ab8de70612
@@ -4,4 +4,4 @@
4
4
  @import shipyard/mixins/responsive
5
5
  @import shipyard/mixins/components
6
6
  @import shipyard/mixins/positioning
7
- @import shipyard/mixins/icon
7
+ @import shipyard/mixins/icons
@@ -60,9 +60,13 @@
60
60
  transition: background-color 300ms ease
61
61
  +width-height(10px, 6px)
62
62
  +icon('arrows/down', $border-color)
63
+ +when('error')
64
+ +icon-color($red)
63
65
  &:hover
64
66
  &::after
65
- background-color: $border-color-dark
67
+ +icon-color($border-color-dark)
68
+ +when('error')
69
+ +icon-color(darken($red, 15%))
66
70
  &-chosen
67
71
  color: $text-color
68
72
  font-weight: $medium
@@ -0,0 +1,7 @@
1
+ @mixin icon($name, $color: null)
2
+ +icon-color($color)
3
+ +mask(asset-url("#{$name}.svg") no-repeat center)
4
+
5
+ @mixin icon-color($color: null)
6
+ @if $color
7
+ background-color: $color
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.5.59'
2
+ VERSION = '0.5.60'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- shipyard-framework (0.5.59)
4
+ shipyard-framework (0.5.60)
5
5
  actionview (~> 5.0)
6
6
  sprockets-es6 (~> 0.9.2)
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipyard-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.59
4
+ version: 0.5.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeship
@@ -238,7 +238,7 @@ files:
238
238
  - assets/stylesheets/shipyard/functions/_map-merge-options.sass
239
239
  - assets/stylesheets/shipyard/mixins/_box-model.sass
240
240
  - assets/stylesheets/shipyard/mixins/_components.sass
241
- - assets/stylesheets/shipyard/mixins/_icon.sass
241
+ - assets/stylesheets/shipyard/mixins/_icons.sass
242
242
  - assets/stylesheets/shipyard/mixins/_positioning.sass
243
243
  - assets/stylesheets/shipyard/mixins/_prefixed.sass
244
244
  - assets/stylesheets/shipyard/mixins/_responsive.sass
@@ -1,4 +0,0 @@
1
- @mixin icon($name, $background-color: null)
2
- @if $background-color
3
- background-color: $background-color
4
- +mask(asset-url("#{$name}.svg") no-repeat center)