coreui / coreui-free-angular-admin-template

CoreUI Angular is free Angular 18 admin template based on Bootstrap 5
https://coreui.io/product/free-angular-admin-template/
MIT License
1.7k stars 1.2k forks source link

The text in some of the buttons is black (#111) #2

Closed dushkostanoeski closed 7 years ago

dushkostanoeski commented 7 years ago

I'm using bootstrap 4 beta and I'm importing it from node_modules.

The text inside a primary, success and danger button is white, but for the others it is #111.

mrholek commented 7 years ago

Bootstrap 4 uses this function to set text color inside buttons and badges:

`// Color contrast @mixin color-yiq($color) { $r: red($color); $g: green($color); $b: blue($color);

$yiq: (($r 299) + ($g 587) + ($b * 114)) / 1000;

@if ($yiq >= 150) { color: #111; } @else { color: #fff; } }`