Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stylus support for sprites #51

Merged
merged 2 commits into from
Jan 7, 2014
Merged

Conversation

alpadev
Copy link
Collaborator

@alpadev alpadev commented Jan 2, 2014

Adds support for stylus output. Generates placeholders - pretty much like the sass generator.

Sample output:

$icons36_styl
  background: url("../img/icons36_stylus.png") no-repeat

$sprite-test_01
  @extend $icons36_styl
  background-position: 0 0

$sprite-test_02
  @extend $icons36_styl
  background-position: 0 -32px

$sprite-test_03
  @extend $icons36_styl
  background-position: 0 -64px

$sprite-test_04
  @extend $icons36_styl
  background-position: 0 -96px

See: #50

@LaurentGoderre
Copy link
Collaborator

👍

alpadev added a commit that referenced this pull request Jan 7, 2014
Add stylus support for sprites
@alpadev alpadev merged commit 802874a into asciidisco:master Jan 7, 2014
@alpadev
Copy link
Collaborator Author

alpadev commented Jan 7, 2014

Thx Laurent :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants