shipyard-framework 0.5.72 → 0.5.73
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 +4 -4
- data/assets/icons/logos/bitbucket-color.svg +2 -2
- data/assets/icons/logos/bitbucket-white.svg +10 -0
- data/lib/shipyard-framework/version.rb +1 -1
- data/styleguide/Gemfile.lock +1 -1
- data/styleguide/_plugins/icon_item.rb +6 -4
- data/styleguide/components/icons.md +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae8a9a7401919426516f8ed6815761c82a3f9116f1bae031f6f5c7258f468cd1
|
|
4
|
+
data.tar.gz: 3f4a665bf2b48ba73f7c636535611018c25e4dbe2dc865e61dc2211d72b85e21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9718555f06e7431a332bd03c581a2151b7fa264dda41eaf5cd008bb7d9f41d73372982917825874511dbc54d484c751efef9d377c8bcd7d99bdac1af328f1498
|
|
7
|
+
data.tar.gz: 70abaf93e1d7c80d0948b759d309b542b60d65cfb2475b6b5a53cbc6b12328e7a82bb852a1868682e690e4893aec2134bdd4d553e93f9b48e2ed817491128e4e
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
<stop offset="1" stop-color="#2684ff" />
|
|
6
6
|
</linearGradient>
|
|
7
7
|
</defs>
|
|
8
|
-
<path class="icon-bitbucket" fill="#2684ff" d="M.52.81a.51.51,0,0,0-.52.5A.28.28,0,0,0,0,1.4L2.18,14.61a.69.69,0,0,0,.68.58H13.3a.51.51,0,0,0,.52-.43L16,1.4a.5.5,0,0,0-.42-.58H.52Zm9.16,9.54H6.35l-.9-4.71h5Z" />
|
|
9
|
-
<path class="icon-bitbucket-gradient" fill="url(#bitbucket-color-gradient)" d="M15.3,5.64H10.49l-.81,4.71H6.35L2.42,15a.66.66,0,0,0,.44.17H13.31a.51.51,0,0,0,.51-.43Z"/>
|
|
8
|
+
<path class="icon-bitbucket-color" fill="#2684ff" d="M.52.81a.51.51,0,0,0-.52.5A.28.28,0,0,0,0,1.4L2.18,14.61a.69.69,0,0,0,.68.58H13.3a.51.51,0,0,0,.52-.43L16,1.4a.5.5,0,0,0-.42-.58H.52Zm9.16,9.54H6.35l-.9-4.71h5Z" />
|
|
9
|
+
<path class="icon-bitbucket-color-gradient" fill="url(#bitbucket-color-gradient)" d="M15.3,5.64H10.49l-.81,4.71H6.35L2.42,15a.66.66,0,0,0,.44.17H13.31a.51.51,0,0,0,.51-.43Z"/>
|
|
10
10
|
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bitbucket-white-gradient" x1="16.36" y1="6.99" x2="3.79" y2="16.81" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#fff" stop-opacity="0.3" />
|
|
5
|
+
<stop offset="0.6" stop-color="#fff" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<path class="icon-bitbucket-white" fill="#fff" d="M6.35,10.35l-.9-4.71h9.86L16,1.4a.51.51,0,0,0-.41-.58H.52a.51.51,0,0,0-.52.5H0V1.4L2.18,14.61a.7.7,0,0,0,.23.41Z" />
|
|
9
|
+
<path class="icon-bitbucket-white-gradient" fill="url(#bitbucket-white-gradient)" d="M9.68,10.35H6.35L2.18,14.61a.7.7,0,0,0,.23.41h0a.8.8,0,0,0,.27.15l.18,0H13.3a.51.51,0,0,0,.52-.43l1.49-9.12H10.45Z" />
|
|
10
|
+
</svg>
|
data/styleguide/Gemfile.lock
CHANGED
|
@@ -7,15 +7,17 @@ module Jekyll
|
|
|
7
7
|
def initialize(tag_name, args, options)
|
|
8
8
|
super
|
|
9
9
|
args = args.strip.split(',')
|
|
10
|
-
@name = args[0]
|
|
10
|
+
@name = eval(args[0])
|
|
11
|
+
@tooltip = args[0]
|
|
11
12
|
@options = args[1] ? eval("{#{args[1]}}") : {}
|
|
13
|
+
@css = 'bg-gray' if @name == 'bitbucket-white'
|
|
12
14
|
end
|
|
13
15
|
|
|
14
16
|
def render(context)
|
|
15
17
|
%(
|
|
16
|
-
<li class="col col-50 col-x1-20 margin-bottom-xs margin-bottom-x1-md margin-bottom-x2-lg" tooltip="#{@
|
|
17
|
-
<div class="box box-md box-x1-xxl">
|
|
18
|
-
#{icon
|
|
18
|
+
<li class="col col-50 col-x1-20 margin-bottom-xs margin-bottom-x1-md margin-bottom-x2-lg" tooltip="#{@tooltip}">
|
|
19
|
+
<div class="box box-md box-x1-xxl #{@css}">
|
|
20
|
+
#{icon @name, @options}
|
|
19
21
|
</div>
|
|
20
22
|
</li>
|
|
21
23
|
)
|
|
@@ -27,6 +27,7 @@ description: Shipyard comes with several default icons that you're welcome to us
|
|
|
27
27
|
<p class="text-light margin-bottom-md" markdown="1">If you need to style several paths inside of the icon, it's important to make sure you use the *injected* version of the icon.</p>
|
|
28
28
|
|
|
29
29
|
<ul class="icon-list col-container">
|
|
30
|
+
{% iconitem 'bitbucket-white', class: 'center icon-xl' %}
|
|
30
31
|
{% iconitem 'bitbucket', class: 'center gray icon-xl' %}
|
|
31
32
|
{% iconitem 'bitbucket-color', class: 'center icon-xl' %}
|
|
32
33
|
{% iconitem :campfire_color, class: 'center icon-xl' %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shipyard-framework
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.73
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Codeship
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|
|
@@ -176,6 +176,7 @@ files:
|
|
|
176
176
|
- assets/icons/gear.svg
|
|
177
177
|
- assets/icons/lock.svg
|
|
178
178
|
- assets/icons/logos/bitbucket-color.svg
|
|
179
|
+
- assets/icons/logos/bitbucket-white.svg
|
|
179
180
|
- assets/icons/logos/bitbucket.svg
|
|
180
181
|
- assets/icons/logos/campfire-color.svg
|
|
181
182
|
- assets/icons/logos/codeship.svg
|