Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Last active August 29, 2015 14:15
Show Gist options
  • Save yoku0825/a71b3e60917d0b28fd6f to your computer and use it in GitHub Desktop.
Save yoku0825/a71b3e60917d0b28fd6f to your computer and use it in GitHub Desktop.
Rabbit's theme
### Defaults are in base/base.rb.
@image_with_frame = false
@image_slide_number_image= "dolphin.png"
@image_timer_image = "gray_dolphin.png"
@font_family = find_font_family("Meiryo")
### Default font sizes are too large for me.
@xx_large_font_size= screen_size(7 * Pango::SCALE)
@x_large_font_size = screen_size(5.5 * Pango::SCALE)
@large_font_size = screen_size(4.5 * Pango::SCALE)
@normal_font_size = screen_size(3.5 * Pango::SCALE)
@small_font_size = screen_size(3 * Pango::SCALE)
@x_small_font_size = screen_size(2 * Pango::SCALE)
@xx_small_font_size= screen_size(1 * Pango::SCALE)
### Default row-margin is too large for me..
@space = screen_y(0.5)
### Table's contents
@table_header_font_props[:size]= @x_small_font_size
@table_cell_font_props[:size] = @x_small_font_size
### Flag's slide-number
@image_slide_number_font_size= @large_font_size
include_theme("blue-bar")
### Pager
@slide_number_uninstall= false
include_theme("slide-number")
### Timer
@image_timer_limit = 5 * 60 # second
@image_timer_auto_updating= true
@image_timer_interval = 1
include_theme("image-timer")
### CodeBlock's colorのつもり
# @preformatted_fill_color = "#000000" ### バックグラウンド黒くしたい
# include_theme("default-preformatted")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment