gitlabhq/lib/gitlab/theme.rb
Dmitriy Zaporozhets 4c6c24856c Themes refactored
2012-11-21 18:19:03 +02:00

18 lines
268 B
Ruby

module Gitlab
class Theme
def self.css_class_by_id(id)
themes = {
1 => "ui_basic",
2 => "ui_mars",
3 => "ui_modern",
4 => "ui_gray",
5 => "ui_color"
}
id ||= 1
return themes[id]
end
end
end