class Playbook::PbCard::Card

def background_class

def background_class
  background == "none" ? nil : "background_#{background}"
end

def border_class

def border_class
  border_none == true ? "border_none" : nil
end

def border_radius_class

def border_radius_class
  border_radius != "md" ? "border_radius_#{border_radius}" : nil
end

def classname

def classname
  generate_classname("pb_card_kit",
                     selected_class,
                     border_class,
                     border_radius_class,
                     background_class,
                     highlight_position_class,
                     highlight_color_class)
end

def highlight_color_class

def highlight_color_class
  highlight[:color].present? ? "highlight_#{highlight[:color]}" : nil
end

def highlight_position_class

def highlight_position_class
  highlight[:position].present? ? "highlight_#{highlight[:position]}" : nil
end

def selected_class

def selected_class
  selected ? "selected" : "deselected"
end