class Playbook::PbLegend::Legend

def body_color

def body_color
  dark ? "lighter" : "light"
end

def classname

def classname
  generate_classname("pb_legend_kit", color.start_with?("#") ? nil : color)
end

def custom_color

def custom_color
  color.start_with?("#") ? "background: #{color}" : ""
end

def custom_color_class

def custom_color_class
  color.start_with?("#") ? "pb_legend_indicator_circle_custom" : "pb_legend_indicator_circle"
end