Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.js #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

biodunbamigboye
Copy link

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

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
@Sanokei
Copy link

Sanokei commented May 25, 2023

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;
}

@biodunbamigboye
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants