Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Glad to see there are some variables for setting things like the navbar colors - I just started adapting a site to the 1.4 version and had to start out by changing all of the rules individually so I could implement a different color scheme.

Edit: Actually, I take it back as there are still hardcoded colors and the assumption that you are using white as the text. Would be nice if it was based off a few variables instead.



Couldn't this be changed in the 'less' files?


Those are the files I'm referring to - if you look in navbar.less for example, you'll see lots of

  color: @white;
in the various navbar rules. It would be great if there was a single variable:

  @navbarTextColor: @white;
and then all the rules could include:

  color: @navbarTextColor;
which is essentially what I've ended up doing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: