*

katalin2k

  • ***
  • 57 posts
noCaptcha dark mode
« on: January 01, 2025, 08:47:05 PM »
Hello,
Is there any quick way to make noCaptcha work with Zeta’s dark mode?

*

MB Themes

Re: noCaptcha dark mode
« Reply #1 on: January 08, 2025, 12:30:04 PM »
@katalin2k
Google recaptcha support dark mode, but need to be explicitely specified.
You create javascript to identify if dark mode is enabled and then set recaptcha to use dark mode (maybe you can also achive this via simple jQuery).

Code: [Select]
<div class="g-recaptcha" data-theme="dark"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

katalin2k

  • ***
  • 57 posts
Re: noCaptcha dark mode
« Reply #2 on: January 08, 2025, 09:07:12 PM »
I will try but should be implemented as a feature in plugin settings. Right now you can select Light or Dark but should also have the option to select "Theme mode" and switch when dark mode is switched on theme. Cheers!

*

MB Themes

Re: noCaptcha dark mode
« Reply #3 on: January 11, 2025, 08:45:58 PM »
I think it should be possible to implement somehow, ie by reading cookies or just via jquery
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

katalin2k

  • ***
  • 57 posts
Re: noCaptcha dark mode
« Reply #4 on: January 12, 2025, 12:40:20 AM »
Would it be possible to make an update?.