Skip to content

Update index.js#4

Open
biodunbamigboye wants to merge 1 commit intopshihn:masterfrom
biodunbamigboye:patch-1
Open

Update index.js#4
biodunbamigboye wants to merge 1 commit intopshihn:masterfrom
biodunbamigboye:patch-1

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