Sha256: 5326c7e6d34ec4a0d259be165ed42d008dfa82c47f1b11bca16ecd0db6efe7a4

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

# Arrange the order of your slides here
wingtips_options background_color: Shoes::COLORS[:white],
                code_highlighting: {
                    comment:   { stroke: "#887" },
                    keyword:   { stroke: Shoes::COLORS[:navy], weight: 'bold' },
                    method:    { stroke: Shoes::COLORS[:black], weight: 'bold' },
                    symbol:    { stroke: Shoes::COLORS[:darkviolet], weight: 'bold' },
                    string:    { stroke: Shoes::COLORS[:forestgreen], weight: 'bold' },
                    number:    { stroke: Shoes::COLORS[:steelblue], weight: 'bold' },
                    regex:     { stroke: "#000", fill: "#FFC" },
                    attribute: { stroke: Shoes::COLORS[:darkviolet], weight: 'bold' },
                    expr:      { stroke: "#722", weight: 'bold' },
                    ident:     { stroke: "#994c99", weight: 'bold' },
                    constant:  { stroke: Shoes::COLORS[:darkviolet], weight: "bold" },
                    class:     { stroke: Shoes::COLORS[:darkviolet], weight: "bold" },
                    matching:  { stroke: "#ff0", weight: "bold" },
                },
                app: {
                  title: 'Wingtips introduction!'
                }

slides Hello, Bullets, DSLSlide, Images, FullScreenImage, FullyShownImage, Code,
       CodeExecute, HowDoesThisWork
       
slide do
  headline 'Fancy DSLs can even be unnamed'
end

code = <<-CODE
class MyClass
  def fancy_method
    magic!
    5 + 5
    :symbol
    COLOR
    OtherClass
    @conference
  end
end
CODE

code_slide 'Template methods', code

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wingtips-0.2.0 samples/wingtips_introduction/config.rb