Currently I'm using Ember Bootstrap Tooltip component, I read the doc, I didn't found anything about custom Background-color. It will be helpful if someone show me how to do it.
Asked
Active
Viewed 101 times
0
-
1this may be a better question for their issue tracker: https://github.com/kaliber5/ember-bootstrap/issues (where the ember-bootstrap experts are) – NullVoxPopuli Jan 18 '22 at 02:04
-
Yes, you're right, I did it. they have to add @color parameter to the component. – Abderazak Amiar Jan 20 '22 at 11:56
1 Answers
2
This question has been answered by Simon Ihmig one of the maintainers of Ember Bootstrap in a GitHub issue.
You don't apply any styling via JS, you customize the BS components as you would for any other Bootstrap-based project. If using plain CSS (not recommended), you would need to override the default styles using CSS, If using Sass (recommended!), you can just tweak the related Sass variables. See https://getbootstrap.com/docs/5.1/components/tooltips/#variables (this is BS v5)

jelhan
- 6,149
- 1
- 19
- 35