Method: Mdslide::Creator#set_theme
- Defined in:
- lib/mdslide/creator.rb
#set_theme(name) ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/mdslide/creator.rb', line 23 def set_theme name theme = Themes[name.to_sym] if theme theme[:css] && @theme_stylesheets.replace(theme[:css]) theme[:js] && @theme_scripts.replace(theme[:js]) end return theme end |