astroid-framework icon indicating copy to clipboard operation
astroid-framework copied to clipboard

change button text color

Open SerGun78 opened this issue 1 year ago • 2 comments

What's the problem with the text color of the buttons? In the bootstrap, the primary button's text color is white, not black. Why are the colors redefined in the astroid? How to make it white? Primary button in Astroid: изображение Primary button in Bootstarp: изображение

SerGun78 avatar Nov 09 '23 14:11 SerGun78

@SerGun78 I’m not sure why Astroid buttons doesn't follow exactly the Bootstrap button scheme?

To change it, I’m afraid you will have to add custom css to change it to white (for the Primary button) .btn-primary { color:white; }

@sonvnn 💡 I suggest an enhancement for Astroid; Button design is one of the most important features to get a professional uniform-looking website. — It would be great if Astroid had an override “Buttons” section to help Web Builders take complete control of that process without having to struggle to override Bootstrap and Astroid base settings and learn CSS.

I put a complete typography page on my Astroid demo. Maybe it can help for the styling? http://joom4-astro.graf-test.ca/typography

• In this case, the “Primary Button” text color seem to come from a Bootstrap css variable Screen Shot 2023-11-10 at 12 30 17 PM

--bs-btn-color: #000;

Chacapamac avatar Nov 10 '23 17:11 Chacapamac

as close as possible to the bootstrap preset profile "Grape" color scheme!

SerGun78 avatar Nov 17 '23 12:11 SerGun78