Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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!

like image 878
okysabeni Avatar asked Jan 11 '14 16:01

okysabeni


People also ask

Is bootstrap the same as twitter bootstrap?

There's no difference. Twitter Bootstrap was the official name for version 1.0 (Twitter Bootstrap). Later the name has been shortened.

How many Colours are there in bootstrap 4?

Bootstrap 4 supports 10 different color utility classes that can be used for text and background colors. Each of these colors has a name that can be used to describe the use of colors on a page.


1 Answers

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

like image 90
erikrunia Avatar answered Oct 11 '22 19:10

erikrunia