Sha256: 7da02abbbc2edf36b71ff7ab1ccd74bbb4764a7620287dbca75c05df7118595d
Contents?: true
Size: 413 Bytes
Versions: 72
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true module Playbook module PbLegend class Legend < Playbook::KitBase prop :color, type: Playbook::Props::String, default: "data_1" prop :prefix_text prop :text, required: true def body_color dark ? "lighter" : "light" end def classname generate_classname("pb_legend_kit", color) end end end end
Version data entries
72 entries across 72 versions & 1 rubygems