Open
Conversation
The essence of this Change is to allow user customize the Color Code to be used in highlighting the text Usage will now be lumin(domNode,highlightColor) lumin.start(5000) the highlight color could be any color of users choice e.g red yellow blue or even color Code
|
I tried for like an hour in different ways to do this... I decided its too much work not to just hack a dumb solution together.. dont judge me. /* DIRTY HACK DONT LOOK */
ins
{
background: var(--lumin-background-color, rgba(0, 204, 255, 0.631)) !important;
} |
Author
|
If this is properly documented, it should also do the hack as well. The solution I submitted worked for me, if tweaked it should work for all use case |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The essence of this Change is to allow user customize the Color Code to be used in highlighting the text
Usage will now be
let luminator=lumin(domNode,highlightColor)
luminator.start(5000)
the highlight color could be any color of users choice e.g red yellow blue or even color Code