Sha256: 05d87ebec508cc65b8f61b6ae2bd5b29fc196e3b7e1151d97fe9ea23d28a4b1a

Contents?: true

Size: 988 Bytes

Versions: 6

Compression:

Stored size: 988 Bytes

Contents

require_relative 'helpers/indented_grid'

Voom::Presenters.define(:styles) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav

  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
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.5 app/demo/styles.pom
voom-presenters-0.1.4 app/demo/styles.pom
voom-presenters-0.1.3 app/demo/styles.pom
voom-presenters-0.1.2 app/demo/styles.pom
voom-presenters-0.1.1 app/demo/styles.pom
voom-presenters-0.1.0 app/demo/styles.pom