In this case, I think the $ will be more readable. Are you planning to
do this?
=border-radius($radius)
border-radius: $radius
Em 06/03/2010, às 20:43, Nathan Weizenbaum escreveu:
We were originally planning to go this direction. Unfortunately,
we're also planning on getting rid of the need for "=", so you can
use variables with ":". In this case, variables need a prefix so
they're not ambiguous with normal property values.
On Sat, Mar 6, 2010 at 3:38 PM, Gabriel Sobrinho <[email protected]
> wrote:
I think variables should not contain a prefix (like in plain ruby).
$ looks like PHP and ! is too strange :)
I like this:
=border-radius(radius)
border-radius = radius
-moz-border-radius = radius
-webkit-border-radius = radius
Looks more clean. What you think?
Em 06/03/2010, às 20:28, Nathan Weizenbaum escreveu:
Hi folks,
I wanted to take an informal poll on a Sass 3 design issue. We're
planning on adding a new prefix character for variables, "$",
because "!" doesn't really feel right to us and many people we've
talked to. I'll expand more upon this in a blog posts soon, but for
now I wanted to ask you the users what you would think about
deprecating the "!" prefix entirely, printing a warning when it's
used, and strongly encouraging people to switch to "$" -- in the
release after 3, we would likely remove "!" entirely. The
alternative would be allowing both "$" and "!" to be used for the
foreseeable future.
What do you think?
- Nathan
--
You received this message because you are subscribed to the Google
Groups "Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/haml?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/haml?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/haml?hl=en
.
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.