Hi all,I'm trying to figure out a good way to allow custom configuration of a Sass plugin I'm building. The two options that spring to mind are reading special variables defined in the SASS stylesheet, or providing custom functions for configuration. But both have problems.For example, in a user's stylesheet:$some-config-var: blue.someclassbackground: generate-custom-background()Assuming "generate-custom-background" is a custom function, is there a way for it to determine that the stylesheet defines the variable "$some-config-var"? It seems like Compass does something like this for sprites, but I haven't had much luck puzzling through the source to figure out how.As an alternate approach, is there any way to allow a custom function to not output anything? I'd like to have something like:configure-custom-var(blue)But that attempts to parse whatever value is returned as CSS.Any help would be appreciated!Thanks,-Gabriel--
You received this message because you are subscribed to the Google Groups "Sass" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sass-lang+...@googlegroups.com.
To post to this group, send email to sass...@googlegroups.com.
Visit this group at http://groups.google.com/group/sass-lang?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.