Module: Uv

Defined in:
lib/hi-lite/uv_ext.rb

Class Method Summary collapse

Class Method Details

.theme_css(theme_name) ⇒ Object



7
8
9
10
11
# File 'lib/hi-lite/uv_ext.rb', line 7

def theme_css(theme_name)
  raise "Could not find theme" unless themes.include? theme_name
  filename = File.join(find_uv_path, "render", "xhtml", "files", "css", "#{theme_name}.css")
  File.read(filename)
end