twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.85k stars 78.88k forks source link

How to lower the contrast in color-yiq function? #26765

Closed ilyador closed 6 years ago

ilyador commented 6 years ago

I am making a theme and I would like to have less contrast between the font and the background. Is it possible to change the yiq function this way?

andresgalante commented 6 years ago

Yes, here are the levels:

https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L101-L106