From 7e32d91ae61b2ac849e8554f817d6dadc4bf5b45 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Wed, 5 Oct 2011 02:01:27 -0400 Subject: [PATCH] updated spriting docs via #403 closes #403 --- doc-src/content/help/tutorials/spriting.markdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc-src/content/help/tutorials/spriting.markdown b/doc-src/content/help/tutorials/spriting.markdown index 58c43b1a..3a5502c0 100644 --- a/doc-src/content/help/tutorials/spriting.markdown +++ b/doc-src/content/help/tutorials/spriting.markdown @@ -25,7 +25,7 @@ For this tutorial, let's imagine that in your project's image folder there are f * `images/icon/delete.png` Each is an icon that is 32px square. - + ## Basic Usage ****Note**: The use of `icon` is only for this example, "icon" represents the folder name that contains your sprites. @@ -58,6 +58,16 @@ by setting configuration variables before you import it. See the section below o simple naming convention for your sprites so that you they are easy to remember and use. You should never have to care what the is name of the generated sprite map, nor where a sprite is located within it. + + +## Nested Folders + +Sprites stored in nested folder will use the last folder name in the path as the sprite name + +Example: + + @import "themes/orange/*.png"; + @include all-orange-sprite; ## Selector Control