Sha256: 4acb864af8afd84b9eca2f554d8c54712f3c2a1de9223c15e96f8ea4797ff9e7

Contents?: true

Size: 539 Bytes

Versions: 83

Compression:

Stored size: 539 Bytes

Contents

br
= pb_rails("title", props: { text: title, tag: "h4", size: 4 })

- if defined?(usage) && usage.present?
  = pb_rails("body", props: {"tag": "p"})
    usage

br
ul.pb--tokens-spacing
  - sizes.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
        div class="pb--spacing_#{item[:class]}"

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
playbook_ui-2.9.6 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-2.9.5 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-2.9.4 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim