How do I get a list of twitter bootstrap 3 colors?

30,665

They no longer name their classes or variables that way, because they are trying in release 3 to be more semantic, ie naming stuff for what it does rather than what it looks like. So @Blue might have become @btn-default-color.

That is better in the long run because your implementation might make it green, so @blue does not adequately describe it anymore. Unfortunately unless you know color hex codes this makes it a little harder.

You can always (in a modern browser) right click the color you see and choose "inspect element", steal the color from the CSS code on the right hand side and then search for THAT color code in the docs.

http://getbootstrap.com/customize/#less-variables

Share:
30,665
oky_sabeni
Author by

oky_sabeni

Updated on January 12, 2020

Comments

  • oky_sabeni
    oky_sabeni over 4 years

    I'm using the twitter bootstrap sass 3.0.3.0 gem which should correspond to the latest twitter bootstrap 3.0.3. I was looking at the 'customize' section of the lESS variables but cannot find too many colors. How do I get a list of colors provided by bootstrap 3?

    For example, searching for blue bootstrap 3 docs returns no result. Whereas searching for blue at bootsrap 2 docs shows the color blue.

    Thanks!