-
Notifications
You must be signed in to change notification settings - Fork 13
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
Inject Django's DEBUG setting into sass namespace as $debug #41
base: master
Are you sure you want to change the base?
Conversation
Yay! A couple quick questions:
Release blocker: no docs. |
Also, in the docs, we should probably leave a reminder that it's not a good idea to hide things that you aren't comfortable with people seeing, as that info will still be available in the HTML. |
Good call. That avoids the kwarg fiddling this relies on now. # opt-in option
DjangoScssCompiler() # extensions=(DjangoExtension, CompassExtension)
DjangoScssCompiler(extensions=(DjangoDebugExtension. DjangoExtension, CompassExtension))
# opt-out option
DjangoScssCompiler() # extensions=(DjangoDebugExtension, DjangoExtension, CompassExtension)
DjangoScssCompiler(extensions=(DjangoExtension, CompassExtension)) Not sure as to which would be preferred. Thoughts?
Though it looks less like a typical sass variable, that would certainly make a more explicit connection with the Django setting. |
I think opt-in might be better. We've got lots of people already using the system and we don't want to suddenly override their variables in any way.
lowercase then |
Do you guys actually have a use for this? |
I don't yet. -rocky On Sat, Jul 25, 2015 at 1:01 AM, Gavin Wahl [email protected]
|
maybe better as docs? |
An idea from @rockymeza in #32.