Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

Media Queries with Variables #279

Closed yacobell closed 10 years ago

yacobell commented 10 years ago

Hello there,

I'm trying to implement Twitter Bootstrap SASS version, but having issues. I'm running Python 2.7, and pyScss version 1.2.0.post3.

As a test, I've used iPython to compile a small piece of SASS. Here is what I ran:

In []: compiler.compile("$breakpoint: 768px;@media (max-width: $breakpoint) { .container{ width:900px; }}") Out[]: '@media (max-width: $breakpoint){.container{width:900px}}\n'

Does pyScss not support variables within media queries?

Your help is much appreciated.