rabbit-theme-yart 1.0.4 → 1.0.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
  SHA1:
3
- metadata.gz: 3cb5395026c7573fceeb7fdbf64659910a65ce2e
4
- data.tar.gz: a40e959d3da1e5a7fed209ac7731497a1ef38dfa
3
+ metadata.gz: 0a53beee2e7aaa762a1ef33febfa2f607cc75967
4
+ data.tar.gz: 2bc608fbb3caec34811ce920d725e56385a7625b
5
5
  SHA512:
6
- metadata.gz: 1f28496f14d71f4ec679095e67e8e7b78663b93c74b5dd5edabc99dec74064f68b065af131d5ded61f8f28ef9d4a10e51bf3065632223ea10f4e8a1fa949bbe5
7
- data.tar.gz: 2eef5ff818a02771c99614b3446dd26c87b0eaefb7ad8975f48c903421b577b316d6b4bc6e97a950a527d2ff7a9f18e7b74c1e62a0bddee909d97a0bb9a4f210
6
+ metadata.gz: 2c2d183a547be9a7dd1ae8203d5b6360952dd7a945133df30efeaf994b9f380af645cc1ef1c67b2181fe42a2d903aeffa49259d75bc866070bc0903fa52bf429
7
+ data.tar.gz: 80538995c99fcf3829bb874b61d29d0414725735298f91cd73e3530da8081606ea5bbad8dc9667fc0f3e0791f34f4a0e74583bba364f9660eec8604e88a9532f
data/config.yaml CHANGED
@@ -2,7 +2,7 @@
2
2
  id: yart
3
3
  tags:
4
4
  - yart
5
- version: 1.0.4
5
+ version: 1.0.5
6
6
  licenses:
7
7
  - CC BY 3.0
8
8
  author:
Binary file
data/theme.rb CHANGED
@@ -9,6 +9,8 @@
9
9
  @enable_yart_lightning_talk = true if (@enable_yart_lightning_talk.nil?)
10
10
  if (@enable_yart_lightning_talk)
11
11
  # use lightning_talk feature to manage 'only title' slide
12
+ @lightning_talk_background_color = @background
13
+ @lightning_talk_color = @foreground
12
14
  @lightning_talk_proc_name = "lightning-yart"
13
15
  @lightning_talk_as_large_as_possible = true
14
16
  include_theme("lightning-talk-toolkit")
@@ -48,6 +50,7 @@ end
48
50
  # emphasis
49
51
  emphasis_color = "#0055bb"
50
52
  @default_emphasis_color = emphasis_color
53
+ @default_emphasis_level2_color = emphasis_color
51
54
 
52
55
  # graffiti
53
56
  graffiti_color = "#99cc33"
@@ -78,12 +81,16 @@ set_graffiti_line_width(15)
78
81
 
79
82
  # table
80
83
  @table_frame_color = emphasis_color
81
- @table_fill_color = "white"
84
+ @table_fill_color = @background
82
85
  @table_head_frame_color = emphasis_color
83
86
  @table_head_fill_color ="#{emphasis_color}24"
84
87
  @table_body_frame_color = emphasis_color
85
88
  @table_body_fill_color = "#{emphasis_color}15"
86
89
 
90
+ #footnote
91
+ @foot_text_block_line_color = emphasis_color
92
+ @foot_text_block_line_length_ratio = 0.75
93
+
87
94
  # base theme
88
95
  include_theme("default")
89
96
 
@@ -142,4 +149,20 @@ match(TitleSlide, "*") do |elements|
142
149
  end
143
150
  end
144
151
 
152
+ # emphasis style
153
+ # level 2
154
+ match("**", Emphasis, Emphasis) do |texts|
155
+ texts.prop_set("underline", "single")
156
+ end
157
+ # deleted text
158
+ match("**", Emphasis, DeletedText, "**") do |texts|
159
+ texts.prop_set("strikethrough", "true")
160
+ texts.prop_set("strikethrough_color", emphasis_color)
161
+ end
162
+
163
+ # Note style
164
+ match( "**", Note) do |texts|
165
+ texts.prop_set("stretch", "condensed")
166
+ end
167
+
145
168
  #include_theme("per-slide-background-image")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-theme-yart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Rivarola
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-14 00:00:00.000000000 Z
11
+ date: 2014-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rabbit