median cut palette algorithm workingls still need to get dominant color.

This commit is contained in:
Lokesh Dhakar
2011-11-02 23:29:30 -04:00
parent cc7a8c8267
commit 8e8b0f9818
43 changed files with 1023 additions and 0 deletions

12
sass/_base.sass Normal file
View File

@@ -0,0 +1,12 @@
$color: #555
$headingColor: #222
$altColor: scale-color($color, $lightness: 50%)
$blue: #09a1ec
$orange: #e83
$green: #6bb445
$radius: 4px
@import "compass/reset"
@import "compass/utilities/general/clearfix"
@import "compass/css3"

38
sass/app.sass Normal file
View File

@@ -0,0 +1,38 @@
@import "base"
body
background: #222
color: #fff
font-family: 'lucida grande', sans-serif
line-height: 1.625em
padding: 40px
h1
font-size: 36px
margin-bottom: .5em
h3
.imageSection
+clearfix
margin-bottom: 40px
img
float: left
margin-right: 20px
.colors
width: 400px
float: left
.function
+clearfix
margin-bottom: 10px
.swatch
width: 40px
height: 20px
margin: 0 4px 4px 0
background: #ddd
float: left
canvas
display: none