This is very interesting! fantasai and I had just discussed the issue of selector variables a few days ago, and returned to her @define rule as a useful model (identical to my original conception of @var declaring global variables). This, though, presents a very intriguing spin on that idea, where the definition of the variable is spread out over potentially multiple declarations. This seems like it hits closer to the idea of SASS's @extend, which I've been wanting to give some serious thought to (at Chris Eppstein's repeated urging ^_^). I'm curious about the intersection of this with global variables. If this claims the syntax of $foo on the global level solely for selectors, it prevents us from using similarly simple syntax for variables in MQ or elsewhere. This might be sufficiently useful for that to be acceptable. I'll want to give this some thought, and discuss it with Nicole, Chris, and others from the community who have experience with @extend and similar preprocessor constructs. Thanks for the proposal, David! ~TJReceived on Sunday, 12 August 2012 22:41:37 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:18 UTC