Jump to content

Grey Contrast


Joss
 Share

Recommended Posts

So, just updated a bit of scss to be told, "There is a bloody undefined variable, you useless excuse for a pathetic human being!"

(Don't you wish error messages were more fun?)

I looked at the supposed undefined variable, "$dark-grey"

Well, looks fine to me.

Went and looked at my colour scheme, "$dark-gray"

Well, look fine to me too.

So why isn't it working?

Seems I have tripped over a language barrier....... :)

Link to comment
Share on other sites

Grey or gray? 

Quite.

I started of by pasting in a little bit off scss to use as a guide that had the variable $dark-gray - seemed a sensible name, so I kept it.

That was about four weeks ago. Today I return to my little project and decide to use the variable. Of course I spell it the way I have always done grEy.

In my post you can see the difference - in a whole line of variables it was not quite so obvious.

If that's in PHP, then it's the dash. Dashes can't be used in PHP variable names. 

Nope, definitely scss  - the clue was on the first line .... :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...