rabbit-theme-nyankosakana 0.2.22 → 0.2.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rd +2 -2
  2. data/config.yaml +1 -1
  3. data/theme.rb +8 -2
  4. metadata +4 -4
data/README.rd CHANGED
@@ -1,6 +1,6 @@
1
- = にゃんこさかな
1
+ = The cat and a fish
2
2
 
3
- にゃんことさかなのせめぎあい
3
+ The cat has run after a fish.
4
4
 
5
5
  == 作者向け
6
6
 
data/config.yaml CHANGED
@@ -3,7 +3,7 @@ id: nyankosakana
3
3
  tags:
4
4
  - nyanko
5
5
  - sakana
6
- version: 0.2.22
6
+ version: 0.2.27
7
7
  licenses:
8
8
  - CC BY-SA 3.0
9
9
  author:
data/theme.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  @font_family = find_font_family("ubuntu") || @font_family
2
+ @monospace_font_family= find_font_family("ubuntu mono") || @monospace_font_family
2
3
 
3
4
  base_color = "#ffde00"
4
5
  base_dark_color = "#ffde00"
@@ -47,6 +48,7 @@ add_image_path("rabbit-images")
47
48
  @image_timer_image ||= "mini-sakana.png"
48
49
  @image_slide_number_start_flag_color = base_color
49
50
  @image_slide_number_goal_flag_color = base_dark_background_color
51
+ @image_slide_number_text_color = "black"
50
52
  @block_quote_open_quote_image = "open-quote-sakana.png"
51
53
  @block_quote_close_quote_image = "close-quote-sakana.png"
52
54
 
@@ -77,12 +79,16 @@ end
77
79
 
78
80
  match(TitleSlide, "*") do |elements|
79
81
  elements.horizontal_centering = false
80
- elements.align = Pango::Layout::ALIGN_RIGHT
82
+ elements.align = :right
81
83
  end
82
84
 
83
85
  match(TitleSlide, Title) do |titles|
84
86
  titles.padding_bottom = @space * 2
85
- titles.align = Pango::Layout::ALIGN_LEFT
87
+ titles.align = :left
88
+ end
89
+
90
+ match(TitleSlide, Subtitle) do |titles|
91
+ titles.align = :left
86
92
  end
87
93
 
88
94
  match(Slide, HeadLine) do |heads|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-theme-nyankosakana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.22
4
+ version: 0.2.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-23 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rabbit
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.0.2
30
- description: にゃんことさかなのせめぎあい
30
+ description: The cat has run after a fish.
31
31
  email:
32
32
  - myokoym@gmail.com
33
33
  executables: []
@@ -69,5 +69,5 @@ rubyforge_project:
69
69
  rubygems_version: 1.8.23
70
70
  signing_key:
71
71
  specification_version: 3
72
- summary: にゃんこさかな
72
+ summary: The cat and a fish
73
73
  test_files: []