sparrow-theme 0.1.14 → 0.1.15

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: 37ff74113810996c5750c7aa587f3a68106eccee
4
- data.tar.gz: 504ccc16b6ca54e0079c355c54af240ad374a156
3
+ metadata.gz: be605220a87bf928dd21bf3fa23f8d620e80d856
4
+ data.tar.gz: 589a85320f96164476805b3a3e0c46ee8413ecb4
5
5
  SHA512:
6
- metadata.gz: 9d494eb1dc11e4031ebcc448c62d3a5d9a15985c4f13bcfdabf10f7e9c0b15ea7b618e525fdfda9691bbd1701076a051afd5563075aecfbfc8d792222cbfdc99
7
- data.tar.gz: e1b20a488def02782998ecc4fabb1a7e19b8ddb975444fa6ed357d25f047a7f26e68b133f22869fcaa847828b19defbbc003de7626066a94d30610801e2beec5
6
+ metadata.gz: a9eb5f35d857ec7156a26d1e3b154aeeedf17f5ccad7a1e557d4a872997610da057ae206114c1f27e7ae4150429474634c54be9a7a7fa87f370c6579febf32c4
7
+ data.tar.gz: d05bf5ab968510db10071e27a09aa5cfc3ba894976566d682ce9b0c8b7ccbe340b245a9fab4db82e721aab2943ea2849fcc92e0b08b2b4811008654dfcfb9913
data/README.md CHANGED
@@ -40,6 +40,20 @@ You theme is setup just like a normal Jelyll site! To test your theme, run `bund
40
40
 
41
41
  When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
42
42
 
43
+ To push a new version of the theme, first update the version in `sparrow-theme.gemspec` then package the theme:
44
+
45
+ ```bash
46
+ $ gem build sparrow-theme.gemspec
47
+ ```
48
+
49
+ Next, push the packaged theme to RubyGems:
50
+
51
+ ```bash
52
+ $ gem push sparrow-theme-*.gem
53
+ ```
54
+
55
+ You'll be asked for login details for the spr-design RubyGems account. To get passpack access for this account, contact `hamish.williams@smartsparrow.com`.
56
+
43
57
  ## License
44
58
 
45
59
  The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -1,9 +1,6 @@
1
1
  <header class="header {% if page._header == 'transparent' %}header--transparent{% endif %}">
2
2
  <div class="header__title">
3
- <a class="header__titleLink" href="{{ site.baseurl }}/">
4
- <div class="header__logoContainer">{% include svg/logo-smartsparrow.svg class="header" %}</div>
5
- <div class="header__titleText">{{ site.title }}</div>
6
- </a>
3
+ {% include layout/headerLogo.html %}
7
4
  </div>
8
5
 
9
6
  {% if site.search %}{% include modules/navSearch.html %}{% endif %}
@@ -14,7 +11,7 @@
14
11
  </button>
15
12
  <ul class="header__navList">
16
13
  {% for link in site.nav-links %}
17
- <li class="header__navItem"><a href="{{ link.url }}" class="header__navLink {% if page.url == link.url %}header__navLink--active{% endif %}">{{ link.title }}</a></li>
14
+ <li class="header__navItem"><a href="{{ link.url }}" class="header__navLink {% if page.url == link.url %}header__navLink--active{% endif %} {% if link.button %}button button--{{ link.button }}{% endif %}">{{ link.title }}</a></li>
18
15
  {% endfor %}
19
16
  </ul>
20
17
  </nav>
@@ -0,0 +1,4 @@
1
+ <a class="header__titleLink" href="{{ site.baseurl }}/">
2
+ <div class="header__logoContainer">{% include svg/logo-smartsparrow.svg class="header" %}</div>
3
+ <div class="header__titleText">{{ site.title }}</div>
4
+ </a>
@@ -400,6 +400,11 @@
400
400
  }
401
401
  }
402
402
 
403
+ &.button--primary,
404
+ &.button--primary:hover {
405
+ color: $white;
406
+ }
407
+
403
408
  @include media($tablet) {
404
409
  text-transform: none;
405
410
  font-size: 18px;
@@ -1,7 +1,7 @@
1
1
  .button {
2
2
  display: inline-block;
3
3
  height: 40px;
4
- line-height: 38px;
4
+ line-height: 40px;
5
5
  padding: 0 20px;
6
6
  color: #555;
7
7
  text-align: center;
@@ -31,31 +31,32 @@
31
31
  background-color: $primary-color;
32
32
  border-color: $primary-color;
33
33
  font-weight: 800;
34
+ border: 0;
34
35
 
35
36
  &:hover,
36
37
  &:focus,
37
38
  &:active {
38
39
  color: $white;
39
40
  background-color: $primary-color-dark;
40
- border-color: $primary-color-dark;
41
+ border: 0;
41
42
  }
42
43
  }
43
44
 
44
45
  &--flat {
45
46
  color: $primary-color;
46
47
  text-transform: uppercase;
47
- border-color: transparent;
48
48
  letter-spacing: 0.08em;
49
49
  font-weight: 600;
50
50
  font-size: 12px;
51
51
  padding-left: 10px;
52
52
  padding-right: 10px;
53
53
  position: relative;
54
+ border: 0;
54
55
 
55
56
  &:hover,
56
57
  &:focus,
57
58
  &:active {
58
- border-color: transparent;
59
+ border: 0;
59
60
  color: $primary-color;
60
61
  background: fade-out($primary-color, 0.8);
61
62
  }
@@ -75,14 +76,14 @@
75
76
 
76
77
  &--white {
77
78
  color: $primary-color;
78
- border: 1px solid $white;
79
+ border: 0;
79
80
  background: $white;
80
81
 
81
82
  &:hover,
82
83
  &:focus,
83
84
  &:active {
84
85
  background: rgba($white, 0.8);
85
- border-color: transparent;
86
+ border: 0;
86
87
  color: $primary-color;
87
88
  }
88
89
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparrow-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamish Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-26 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -76,6 +76,7 @@ files:
76
76
  - _includes/layout/gtmHead.html
77
77
  - _includes/layout/head.html
78
78
  - _includes/layout/header.html
79
+ - _includes/layout/headerLogo.html
79
80
  - _includes/layout/typekit.html
80
81
  - _includes/modules/card.html
81
82
  - _includes/modules/heroBanner.html
@@ -116,7 +117,7 @@ files:
116
117
  - assets/img/icon-check-white.svg
117
118
  - assets/img/touch.png
118
119
  - assets/js/scripts.js
119
- homepage: https://design.smartsparrow.com
120
+ homepage: http://www.smartsparrow.com
120
121
  licenses:
121
122
  - MIT
122
123
  metadata: {}