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

Feature Request: add config option for theme #3

Open
dandalpiaz opened this issue Apr 16, 2024 · 0 comments
Open

Feature Request: add config option for theme #3

dandalpiaz opened this issue Apr 16, 2024 · 0 comments

Comments

@dandalpiaz
Copy link

By default, the widget will use the light or dark theme based on the user's system preference setting, but it's nice to be able to explicitly set the theme as well. I think this could work similarly to what is done in flask-recaptcha where are configuration option is available (e.g. TURNSTILE_THEME) and is rendered in a data-theme attribute in the code, https://github.com/mardix/flask-recaptcha/blob/master/flask_recaptcha.py#L74 .

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

No branches or pull requests

1 participant