Settings

Theme

Show HN: Buttons - A CSS button library built with Sass and Compass

alexwolfe.github.io

11 points by alexwolfe 13 years ago · 4 comments

Reader

Timothee 13 years ago

(disclosure: I work with Alex and he showed this to me before)

I think the page doesn't emphasize enough the easy customization of these buttons: you can set the class names and base colors in one file and Sass will create the CSS for what you want. "Base" colors because the gradients, highlights and glows are then derived from only one color.

See this file in particular: https://github.com/alexwolfe/Buttons/blob/master/scss/_optio...

The defaults look pretty yummy but the customization is key for your own use IMO.

zalew 13 years ago

they look really good.

    $namespace: '.button'; //prefix for all classes
you made my day, sir. was just about to complain that .button may collide with Zurb Foundation's styles (unless buttons not included), and I saw this. +1
  • alexwolfeOP 13 years ago

    Thanks. Yah wanted to make it easy to integrate in any existing project. Glad you like it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection