Replies: 1 comment
-
Usually it's a good idea to use the browser's elements view to find out which CSS class is needed and why your CSS rule works or doesn't work: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am calling the Find API programmatically and highlighting all matches and I would like to change the background color of the matched text from the default purple, which is hard to read, to yellow. The showcase mentions customHighlight as the class to override and I have tried this in both the component and global styles. I've also tried with a ::ng-deep. Nothing seems to work. Can you provide an example of how to override this class?
Beta Was this translation helpful? Give feedback.
All reactions