Sha256: 02d4b43ced96835cd2dccb1cb20e49ab5c2183aade478f307357b3ac7006b6f0

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

require_relative 'helpers/indented_grid'

Voom::Presenters.define(:styles) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  page_title 'Page Title' do
    icon :settings
  end

  indented_grid do
    display 'Styles'

    # heading is an alias for display
    heading 'Typography', level: 4
    display 'Display 4', level: 4
    display 'Display 3', level: 3
    display 'Display 2', level: 2
    display 'Display 1', level: 1
    headline 'Headline'
    title 'Title'
    subheading 'Subheading 2', level: 2
    subheading 'Subheading 1', level: 1
    body ['Body 1 paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut',
          'labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut',
          'aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat',
          'nulla pariatur.'], level: 1
    body 'Body 2 text, calling something out.', level: 2
    body 'You can use [markdown](/markdown) in your typography'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 app/demo/styles.pom
voom-presenters-0.1.12 app/demo/styles.pom
voom-presenters-0.1.11 app/demo/styles.pom
voom-presenters-0.1.10 app/demo/styles.pom
voom-presenters-0.1.9 app/demo/styles.pom