Skip to content

Commit

Permalink
Fix the order of CSS files included
Browse files Browse the repository at this point in the history
The css file for the project should be the last CSS file inserted
into the HTML, so that a user can override certain CSS classes.

Fixes infews#32
  • Loading branch information
Sean M. Collins committed May 1, 2014
1 parent a270d0e commit 5818ad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/keydown/slidedeck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def initialize(text)
def to_html
require 'tilt'

css_files = ['css/keydown.css']
css_files = ['css/keydown.css', 'css/default.css',
'css/horizontal-default.css', 'css/swiss.css']
css_files += Dir.glob('css/*.css')
css_files.uniq!

Expand Down

0 comments on commit 5818ad9

Please sign in to comment.