Refactored theme css, added Modern theme pre version

This commit is contained in:
randx 2012-06-11 20:52:32 +03:00
parent a6dad85d2f
commit 04bf40a923
10 changed files with 172 additions and 11 deletions

15
lib/gitlab/theme.rb Normal file
View file

@ -0,0 +1,15 @@
module Gitlab
class Theme
def self.css_class_by_id(id)
themes = {
1 => "ui_basic",
2 => "ui_mars",
3 => "ui_modern"
}
id ||= 1
return themes[id]
end
end
end