class Playbook::PbList::List

def borderless_class

def borderless_class
  borderless ? "borderless" : nil
end

def dark_class

def dark_class
  dark ? "dark" : nil
end

def layout_class

def layout_class
  if layout == "right"
    "layout_right"
  elsif layout == "left"
    "layout_left"
  else
    ""
  end
end

def list_classname

def list_classname
  generate_classname("pb_list_kit",
                     xpadding_class,
                     borderless_class,
                     dark_class,
                     size_class,
                     layout_class)
end

def ordered_class

def ordered_class
  ordered ? "ol" : "ul"
end

def size_class

def size_class
  size ? "large" : nil
end

def xpadding_class

def xpadding_class
  xpadding ? "xpadding" : nil
end