class Playbook::PbLegend::Legend

def body_color

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

def chart_options

def chart_options
  {
    color: color,
    text: text,
  }
end

def classname

def classname
  generate_classname("pb_legend_kit", color, dark ? "dark" : "light")
end