Sha256: 305b187ba467c7dcdc22cfcd863b68607790e94b25c7272d8c026e0ed7ed7e27

Contents?: true

Size: 1.67 KB

Versions: 17

Compression:

Stored size: 1.67 KB

Contents

include_theme("image")
include_theme("table")

normal_font_size = @normal_font_size
small_font_size = @small_font_size
xx_small_font_size = @xx_small_font_size
@normal_font_size = screen_size(4 * Pango::SCALE)
@small_font_size = screen_size(3.3 * Pango::SCALE)
@xx_small_font_size = screen_size(2.5 * Pango::SCALE)
include_theme("default-text")
@normal_font_size = normal_font_size
@small_font_size = small_font_size
@xx_small_font_size = xx_small_font_size

x_large_font_size = @x_large_font_size
large_font_size = @large_font_size
normal_font_size = @normal_font_size
@x_large_font_size = screen_size(7 * Pango::SCALE)
@large_font_size = screen_size(4.5 * Pango::SCALE)
@normal_font_size = screen_size(3.5 * Pango::SCALE)
include_theme("default-title-text")
@x_large_font_size = x_large_font_size
@large_font_size = large_font_size
@normal_font_size = normal_font_size

include_theme("default-title-slide")
include_theme("default-slide")
include_theme("default-description")
include_theme("default-preformatted")

match("**", PreformattedText) do |texts|
  texts.prop_set("size", screen_size(2.8 * Pango::SCALE))
end

include_theme("rabbit-item-mark")

@powered_by_text = "Powered by Rabbit #{VERSION}"
include_theme("powered-by")

if print?
  include_theme("slide-number")
else
  @image_slide_number_show_text = true
  include_theme("image-slide-number")

  @image_timer_limit ||= canvas.allotted_time || 5 * 60
  include_theme("image-timer")
end

@lightning_talk_proc_name = "lightning-simple"
@lightning_talk_as_large_as_possible = true
include_theme("lightning-talk-toolkit")

match(Slide) do |slides|
  slides.each do |slide|
    if slide.lightning_talk?
      slide.lightning_talk
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rabbit-1.0.9 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.8 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.7 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.6 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.5 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.4 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.3 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.2 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.1 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-1.0.0 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.9.3 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.9.2 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.9.1 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.9.0 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.6.4 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.6.3 lib/rabbit/theme/lightning-simple/lightning-simple.rb
rabbit-0.6.2 lib/rabbit/theme/lightning-simple/lightning-simple.rb