maglove-engine 2.0.13 → 2.0.14

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
  SHA1:
3
- metadata.gz: 49d56bbd47294a5e910b13c359ad7ec40493168b
4
- data.tar.gz: ce892aad7e4a17a2d835728115d0ac1b895ea012
3
+ metadata.gz: 941201c06d389866d1de9be8ffa46d6ec11b93a7
4
+ data.tar.gz: 2176517879b75b1213fc446f2664efa717640416
5
5
  SHA512:
6
- metadata.gz: 6f218b7c222f7ca2a3b6cb49681e7de3fc62f3767f1e9117cfb6c656852e01656021fd5b94e2b414ed13335bc5fd2b4bc2c8eb68c274695b441064242883e1e4
7
- data.tar.gz: ea53186577ed45f3b7dda5197ac4887edbb2acafac5c2fa19409a6055466044e549836695a44820d5e036e95e168021d7de316855e64f54fe67ff6a01f36501e
6
+ metadata.gz: fd3e6bedee4ec1e154657bb345426db3bacdc398fe8da5637d755cf049b825991f85aac9f3cc845435cf1e7bbfe29058b5a2fe154968eafc307a873b16929135
7
+ data.tar.gz: df2190dcf854a2efd5983f011c3f4f7f363ef016433a0f432cd3d09b8b8cd0b2d5d6d67d2f78c4833e46db1c44c64d1f3a10d5da265dd51529434ba14e43a5cb
@@ -1,5 +1,5 @@
1
1
  module Maglove
2
2
  module Engine
3
- VERSION = "2.0.13"
3
+ VERSION = "2.0.14"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ module Maglove
20
20
  subtitle: "This is the card subtitle",
21
21
  title_heading_type: "h2",
22
22
  subtitle_heading_type: "h4",
23
- style:""
23
+ style: ""
24
24
  }
25
25
  end
26
26
 
@@ -42,7 +42,6 @@ module Maglove
42
42
  end
43
43
  end
44
44
  end
45
-
46
45
  end
47
46
  end
48
47
  end
@@ -8,7 +8,8 @@ module Maglove
8
8
  def defaults
9
9
  {
10
10
  background_color: "#18B545",
11
- text_color: "#FFFFFF",
11
+ title_color: "#111111",
12
+ subtitle_color: "#111111",
12
13
  arrow_color: "#FFFFFF",
13
14
  size: "md",
14
15
  badge: nil,
@@ -31,7 +32,8 @@ module Maglove
31
32
  def defaults
32
33
  {
33
34
  background_color: "#18B545",
34
- text_color: "#FFFFFF",
35
+ title_color: "#111111",
36
+ subtitle_color: "#111111",
35
37
  arrow_color: "#FFFFFF",
36
38
  size: "md",
37
39
  badge: nil,
@@ -58,11 +60,11 @@ module Maglove
58
60
  haml_tag :div, { class: "list-item-image", style: image_style }
59
61
  end
60
62
  haml_tag :div, { class: "list-item-main" } do
61
- haml_tag :div, { class: "list-item-title", style: "color: #{options[:text_color]}" } do
63
+ haml_tag :div, { class: "list-item-title", style: "color: #{options[:title_color]}" } do
62
64
  haml_concat(options[:title])
63
65
  end
64
66
  if options[:subtitle]
65
- haml_tag :div, { class: "list-item-subtitle", style: "color: #{options[:text_color]}; font-style: #{options[:subtitle_style]}" } do
67
+ haml_tag :div, { class: "list-item-subtitle", style: "color: #{options[:subtitle_color]}; font-style: #{options[:subtitle_style]}" } do
66
68
  haml_concat(options[:subtitle])
67
69
  end
68
70
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglove-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.13
4
+ version: 2.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-19 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: 2.4.7
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.6.10
181
+ rubygems_version: 2.5.2
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Maglove Engine - MagLoft Theme Rendering Engine.