Sprites for Stylus
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.project
AUTHORS
Image.js
LICENCE
README.md
Sprite.js
index.js
package.json

README.md

exemple :

main.styl

.icon,.icon32
	display inline-block
	width 16px
	height 16px
	margin 2px 3px 2px 0
	font-size 0

icon16($name,iconName=$name)
	.icon.{$name}
		sicons16(iconName)

sicons16(fileIconName)
	sprite i16 '../images/'+fileIconName+'.png' 'dimensions:false'