jekyll_patternbot 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/_layouts/patternbot_pattern_lib.html +2 -2
- data/_patterns/brand/colors.html +8 -8
- data/_plugins/jekyll_patternbot/processors/brand.rb +1 -1
- data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82f8b059936643c58415f90f6470c2405dd73e79b3089dafa034d671621035cd
|
4
|
+
data.tar.gz: efa04e422afaecbdacd75a7fc176db63602ef4fa82d04064f5a825161bcb9b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 468ba36e3ce045f90f76609be33324178e6a62b6da575aa705744be686bedbf86a272c377d72369fa13586720a3c17a4c215a212c175a54b41436cbe0f7ad0ce
|
7
|
+
data.tar.gz: 8a1b724e6ea115ce536c2a21f44cc59e805f1c069b926b8e331331fe43cecac2ec09639f7a5d7c3e0c076ecbe98a41259bd15c8766fcb7100536570b75175fe6
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ Jekyll Patternbot adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
---
|
7
7
|
|
8
|
+
## [0.15.0] — 2019-01-16
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Hide a few patterns that shouldn’t be shown in brand when the `theme.css` file is missing specific features.
|
13
|
+
|
14
|
+
---
|
15
|
+
|
8
16
|
## [0.14.0] — 2019-01-15
|
9
17
|
|
10
18
|
### Fixed
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</a>
|
125
125
|
</li>
|
126
126
|
{% endif %}
|
127
|
-
{%
|
127
|
+
{% unless page._PatternbotData.css.theme.utilities == empty %}
|
128
128
|
<li role="presentation">
|
129
129
|
<a class="gutter pad-t-1-4 pad-b-1-4 block" role="tab" aria-controls="utilities" href="#utilities">
|
130
130
|
<div class="relative">
|
@@ -135,7 +135,7 @@
|
|
135
135
|
</div>
|
136
136
|
</a>
|
137
137
|
</li>
|
138
|
-
{%
|
138
|
+
{% endunless %}
|
139
139
|
{% unless page._PatternbotData.icons == empty %}
|
140
140
|
<li role="presentation">
|
141
141
|
<a class="gutter pad-t-1-4 pad-b-1-4 block" role="tab" aria-controls="icons" href="#icons">
|
data/_patterns/brand/colors.html
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
<div class="patternbot-font-primary text-left">
|
2
2
|
{% assign show_hr = false %}
|
3
3
|
|
4
|
-
{%
|
4
|
+
{% unless page._PatternbotData.css.theme.colors.primary == empty %}
|
5
5
|
{% assign show_hr = true %}
|
6
6
|
{% include patternbot_pattern_brand_color_swatches.html style="large" title="Primary" key="primary" colors=page._PatternbotData.css.theme.colors.primary extra_class="patternbot-color-swatches-primary" %}
|
7
|
-
{%
|
7
|
+
{% endunless %}
|
8
8
|
|
9
|
-
{%
|
9
|
+
{% unless page._PatternbotData.css.theme.colors.secondary == empty %}
|
10
10
|
{% assign show_hr = true %}
|
11
11
|
{% include patternbot_pattern_brand_color_swatches.html style="large" title="Secondary" key="secondary" colors=page._PatternbotData.css.theme.colors.secondary extra_class="patternbot-color-swatches-secondary" show_hr=show_hr %}
|
12
|
-
{%
|
12
|
+
{% endunless %}
|
13
13
|
|
14
|
-
{%
|
14
|
+
{% unless page._PatternbotData.css.theme.colors.accent == empty %}
|
15
15
|
{% assign show_hr = true %}
|
16
16
|
{% include patternbot_pattern_brand_color_swatches.html style="small" title="Accent" key="accent" colors=page._PatternbotData.css.theme.colors.accent show_hr=show_hr %}
|
17
|
-
{%
|
17
|
+
{% endunless %}
|
18
18
|
|
19
|
-
{%
|
19
|
+
{% unless page._PatternbotData.css.theme.colors.neutral == empty %}
|
20
20
|
{% assign show_hr = true %}
|
21
21
|
{% include patternbot_pattern_brand_color_swatches.html style="small" title="Neutral" key="neutral" colors=page._PatternbotData.css.theme.colors.neutral show_hr=show_hr %}
|
22
|
-
{%
|
22
|
+
{% endunless %}
|
23
23
|
</div>
|
@@ -8,7 +8,7 @@ module JekyllPatternbot
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def remove_typefaces
|
11
|
-
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :fonts
|
11
|
+
unless PatternbotData[:css].key? :theme and PatternbotData[:css][:theme].key? :fonts and PatternbotData[:css][:theme][:fonts].key :primary
|
12
12
|
PatternbotData[:patterns][:internal]['brand'][:config]['patterns'].delete 'typefaces'
|
13
13
|
end
|
14
14
|
end
|
data/version.rb
CHANGED