add dark solarized theme for code preview

This commit is contained in:
Dmitriy Zaporozhets 2013-03-15 15:09:34 +02:00
parent 7799b5bda6
commit 8cad1c9f4c
7 changed files with 107 additions and 6 deletions

View file

@ -128,7 +128,13 @@ module ApplicationHelper
end
def user_color_scheme_class
current_user.dark_scheme ? :black : :white
case current_user.color_scheme_id
when 1 then 'white'
when 2 then 'black'
when 3 then 'solarized-dark'
else
'white'
end
end
def show_last_push_widget?(event)