Sandoche ADITTANE
Sandoche ADITTANE
I think the option that works the best is: - applying `mix-blend-mode: difference;` style on the items where the color is reversed. does it work?
Have you tried this? https://github.com/sandoche/Darkmode.js/issues/60
I haven't got time yet to look into it.
Hey that's a nice idea, if you have some time feel free to implement it! I'll happily review, merge and deploy the feature.
Please try this code: https://github.com/sandoche/Darkmode.js/issues/8#issuecomment-673464904
Hi, You can actually do it with those settings: ``` var options = { bottom: '64px', // default: '32px' right: 'unset', // default: '32px' left: '32px', // default: 'unset' time:...
I tried on my side and it works, not sure why it doesn't , can you put some text instead and change the button color to test ?
Can you make a Codepen or Jsbin of this issue ?
Try loading the library with a function on window's load: ```js function addDarkmodeWidget() { new Darkmode().showWidget(); } window.addEventListener('load', addDarkmodeWidget); ```
I am also having the same issue.