I am still using the old colon syntax (i prefer it more than the
bracket syntax) and this particular code:

a.button-link
  +box($main-color)
  +border-radius(5px)
  :background
    :color $main-color
  :color #fff
  :padding 5px

generates a warning like so:

DEPRECATION WARNING:
On line 12, character 3 of '/Users/eumir/rails_apps/dxconnect/app/
stylesheets/partials/utilities/_link-styles.sass'
Setting properties with = has been deprecated and will be removed in
version 3.2.
Use "background: $main-color" instead.

I tried that but my background color still doesn't show up. Any help
on this please? Thanks!

-- 
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.

Reply via email to