Sha256: 91a8aaf2cd020f44e8aca738729eb0e3c1794c50bafb4d299582ace9a63f2a61

Contents?: true

Size: 1.54 KB

Versions: 26

Compression:

Stored size: 1.54 KB

Contents

add_image_path("ruby-images")
add_image_path("rabbit-images")

include_theme("image")
include_theme("table")
include_theme("default-title-text")
include_theme("default-text")
include_theme("default-method-list")

set_background("white")

set_graffiti_color("red")

@title_logo_image = "ruby-pink-polygon.png"
@title_logo_position = :left
include_theme("title-logo")

@ruby_gnome2_color ||= "#003399"
@ruby_gnome2_emphasis_color ||= "#006600"
@ruby_gnome2_line_color ||= "#ff9999"
@ruby_gnome2_frame_color ||= "#3399cc"
@ruby_gnome2_fill_color ||= "#ddeeff"
@ruby_gnome2_item_mark_color ||= "black"

include_theme("ruby-gnome2-icon")
include_theme("ruby-gnome2-slide")
include_theme("ruby-gnome2-headline")
include_theme("ruby-gnome2-item-mark")
include_theme("ruby-gnome2-preformatted")
include_theme("ruby-gnome2-description")
include_theme("ruby-gnome2-foot-text")

match("**", Emphasis) do |ems|
  ems.prop_set("foreground", @ruby_gnome2_emphasis_color)
end

if print?
  @powered_by_text = "Powered by Rabbit #{VERSION}, Ruby-GNOME2 and COZMIXNG"
end
@powered_by_images = [
   "rabbit-banner-green.png",
   "rabbit-banner-blue.png",
   "rabbit-banner-pink.png",
]
include_theme("powered-by")

unless print?
  include_theme("image-slide-number")
  if canvas.allotted_time
    include_theme("image-timer")
  end
end

@lightning_talk_proc_name = "lightning-ruby-gnome2"
@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

26 entries across 26 versions & 1 rubygems

Version Path
rabbit-2.0.5 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb
rabbit-2.0.4 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb
rabbit-2.0.3 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb
rabbit-2.0.2 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb
rabbit-2.0.1 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb
rabbit-2.0.0 lib/rabbit/theme/ruby-gnome2/ruby-gnome2.rb