It is beyond my understanding how this website was able to toggle Turnstile widget theme with a butt

It is beyond my understanding how this website was able to toggle Turnstile widget theme with a button toggle as from my experiments data-theme="dark" is only honored during initial widget rendering, all I can figure out is it seems to be using bootstrap and it is simply adding data-bs-theme="dark" to the
<html>
element to turn page dark.
light.png
dark.png
Was this page helpful?