Sha256: b98ecf0f46d3cac385f4bea1aeb6e9eebbb47f1c524b4ca10f5155888a3878d2

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

br
= pb_rails("title", props: { text: title, tag: "h4", size: "4" })
- if defined?(usage) && usage.present?
  = pb_rails("body", props: {"tag": "p", "text": usage})

ul.pb--utlities-color
  - colors.each do |item|
    - variable = (defined?(item[:variable]) && !item[:variable].nil?) ? "$#{item[:variable]}" : ""
    - item[:dark] ||= false
    - item[:class] ||= item[:variable]

    li class=(item[:dark] == true ? "dark" : "") data-name="#{item[:name]}" data-variable="#{variable}"
      div class="pb--color_#{item[:class]}"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/views/playbook/pages/utilities/_pb_doc_color.html.slim
playbook_ui-2.7.1 app/views/playbook/pages/utilities/_pb_doc_color.html.slim
playbook_ui-2.7.0 app/views/playbook/pages/utilities/_pb_doc_color.html.slim
playbook_ui-2.6.0 app/views/playbook/pages/utilities/_pb_doc_color.html.slim
playbook_ui-2.5.0 app/views/playbook/pages/utilities/_pb_doc_color.html.slim