class Gitlab::Theme

Public Class Methods

css_class_by_id(id) click to toggle source
# File lib/gitlab/theme.rb, line 3
def self.css_class_by_id(id)
  themes = { 
    1 => "ui_basic",
    2 => "ui_mars",
    3 => "ui_modern"
  }

  id ||= 1

  return themes[id]
end