jekyll_patternbot 1.6.4 → 1.6.5

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: 43ab1b44bc0d38e1c08d6adf0900166f6f98937a1dbeca6ed76e7f20e8651499
4
- data.tar.gz: 57d298f8bf795cb01cb9c615d8c71e037f1e9c221ef28c357587d722631b5099
3
+ metadata.gz: 1555e1544c83c9297860d44318cb23ff83f48c0bf1bf4176ee8f3e76529021b4
4
+ data.tar.gz: 7e2a140a23091ff6a9e5d9e9780dff9a4df76d58cda164b31fe1cb10573293fd
5
5
  SHA512:
6
- metadata.gz: '01028fb49ea3b1e562648b01c002d4aaeb538fd9e313740c6a40ab75ae3572caa57e0911666e7b3ea74e7914a706ed9f4204646d52d49ee170c10e1baa09da8e'
7
- data.tar.gz: b00cd01acef476d6af955d121309ed61160ab7503586a83baf95ea96514b0625dcd939ad3485713151262c4c49a5aa753974893b0bb4034a0a94e4a4fb779fcf
6
+ metadata.gz: 7d8be49e292db5a067b4d8cbe77e15c1def6cfc5a789a82a76eeb76248fb834bce3804712d46b382562dbcf19ee6840b436badcb1aa0e0e3ebbf7de5811f4404
7
+ data.tar.gz: 3fcd3a7c6a6ded3378c7d5d149d5f4d16d1e27a4de69f4ded5f2ccaea25954083d1da6612886c7238958d531f8f3bf37146ae05cffea09bf679fb8949d082079
@@ -5,6 +5,15 @@ Jekyll Patternbot adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ---
7
7
 
8
+ ## [1.6.5] — 2020-02-03
9
+
10
+ ### Fixed
11
+
12
+ - When a background colour is applied to an internal pattern, it now overwrites the `html` `background-color` specified in the user CSS.
13
+ - Force the background colour & font onto both `body` & `html` for more reliability.
14
+
15
+ ---
16
+
8
17
  ## [1.6.4] — 2020-01-20
9
18
 
10
19
  ### Fixed
@@ -36,8 +36,9 @@
36
36
  --color-patternbot-interface-background: {{page._subpattern | get_pattern_background_color: page._pattern | as_hex}};
37
37
  --color-patternbot-interface-accent: {{page._subpattern | get_pattern_interface_color: page._pattern | as_hex}};
38
38
  }
39
- html {
39
+ html, body {
40
40
  color: {{page._subpattern | get_pattern_interface_color: page._pattern}};
41
+ background-color: {{page._subpattern | get_pattern_background_color: page._pattern | as_hex}};
41
42
  }
42
43
  {%- else -%}
43
44
  :root {
@@ -54,7 +55,7 @@
54
55
  {%- endif -%}
55
56
  {%- endif -%}
56
57
  }
57
- html {
58
+ html, body {
58
59
  color: {{page._PatternbotConfig.patternbot.colors.background | get_interface_color}};
59
60
  }
60
61
  {%- endif -%}
@@ -62,7 +63,7 @@
62
63
  :root {
63
64
  --font-patternbot-primary: {{page._PatternbotData.css.theme.fonts.primary.css_name}}, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
64
65
  }
65
- html {
66
+ html, body {
66
67
  font-family: {{page._PatternbotData.css.theme.fonts.primary.css_name}}, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
67
68
  }
68
69
  {%- endif -%}
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  {% if page._PatternbotData.css.theme.fonts.primary %}
49
- html {
49
+ html, body {
50
50
  font-family: {{page._PatternbotData.css.theme.fonts.primary.css_name}}, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
51
51
  }
52
52
  {% endif %}
@@ -12,7 +12,7 @@
12
12
  {% endif %}
13
13
  {%- if page._subpattern_data.background -%}
14
14
  <style>
15
- html {
15
+ html, body {
16
16
  background-color: {{page._subpattern_data.background | as_hex}};
17
17
  }
18
18
  </style>
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JekyllPatternbot
2
- VERSION = '1.6.4'
2
+ VERSION = '1.6.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_patternbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas J Bradley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-20 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll