Refactored theme css, added Modern theme pre version
This commit is contained in:
parent
a6dad85d2f
commit
04bf40a923
10 changed files with 172 additions and 11 deletions
|
@ -85,11 +85,6 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def app_theme
|
||||
if current_user && current_user.theme_id == 1
|
||||
"ui_basic"
|
||||
else
|
||||
"ui_mars"
|
||||
end
|
||||
Gitlab::Theme.css_class_by_id(current_user.try(:theme_id))
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue