Sha256: 4c4735bf2a167f4ee1f2856905370622f060ec1af3879d4f530598d57602256d

Contents?: true

Size: 1.59 KB

Versions: 6

Compression:

Stored size: 1.59 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
    headline'Typography',  level: 1

    headline 'Headline 1', level: 1
    headline 'Headline 2', level: 2
    headline 'Headline 3', level: 3
    headline 'Headline 4', level: 4
    headline 'Headline 5', level: 5
    headline 'Default Headline Size'
    headline 'Headline 6', level: 6
    title    'Title'
    subtitle 'subtitle 1', level: 1
    subtitle 'subtitle 2', level: 2
    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
    caption 'Caption'
    overline 'Overline'
    body 'You can use [markdown](/markdown) in your typography'
    body '`blank` will insert a blank line'
    blank
    body 'Line above me, intentionally left blank'
    separator
    body 'Line above me is a separator'
    link 'You can have a link', 'https://www.google.com/search?q=link&source=lnms&tbm=isch&sa=X&ved=0ahUKEwipr4zY_JXdAhVNXK0KHWFNCdYQ_AUICigB&biw=1651&bih=932'
    blank
    link 'I open in a new tab or window', 'https://example.com', target: :blank

  end
  attach :code, file: __FILE__
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 app/demo/styles.pom
voom-presenters-2.1.0 app/demo/styles.pom
voom-presenters-2.0.3 app/demo/styles.pom
voom-presenters-2.0.2 app/demo/styles.pom
voom-presenters-2.0.1 app/demo/styles.pom
voom-presenters-2.0.0 app/demo/styles.pom