Skip to content

Commit

Permalink
fix: make label text visible for dark themes (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
danihodovic committed Jun 25, 2024
1 parent ce29f86 commit d15b948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion allauth_ui/templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="items-start my-2 form-control">
<label class="cursor-pointer label">
{% render_field form.remember class="checkbox checkbox-accent" %}
<span class="ml-2 label-text text-neutral">Remember me</span>
<span class="ml-2 label-text">Remember me</span>
</label>
</div>
{{ redirect_field }}
Expand Down
2 changes: 1 addition & 1 deletion allauth_ui/templates/components/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% for field in form.visible_fields %}
{% if field.name != "remember" %}
<label class="label" for="{{ field.id_for_label }}">
<span class="label-text text-neutral">{{ field.label }}</span>
<span class="label-text">{{ field.label }}</span>
</label>
{% if field.errors %}
{% render_field field placeholder="" class="w-full input input-bordered text-primary input-error" %}
Expand Down

0 comments on commit d15b948

Please sign in to comment.