Skip to content

A Ruby DSL for generating image gradients and rounded corners

Notifications You must be signed in to change notification settings

coffeeworks/gradie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Trying to come up with a nice way to DRY up the process of generating background images for website styling.
The desired syntax would be something like:

image('background-header.png', :width => 5) do
  gradient :white, '#BCBCBC', :height => 50
  solid :red, :height => 10
  gradient '#BCBCBC', :transparent, height => 50
end

About

A Ruby DSL for generating image gradients and rounded corners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages