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-6.2.1 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.2.0 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0.pre.alpha5 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0.pre.alpha4 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0.pre.alpha3 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0.pre.alpha2 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0.pre.alpha1 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.1.0 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1.pre.alpha6 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1.pre.alpha5 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1.pre.alpha4 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1.pre.alpha3 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1.pre.alpha2 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.1 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-6.0.0 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-5.5.1.pre.alpha4 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-5.5.1.pre.alpha3 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-5.5.1.pre.alpha2 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-5.5.1.pre.alpha1 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim
playbook_ui-5.5.1 app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim