Closed al-muammar closed 1 year ago
Agreed, anyone wants to give it a go in a PR?
Need this please!!!!
This would be a very welcome addition.
I second this...
as a hotfix, you can still create a
{% block extrahead %}
<style>
.select2-selection__choice{
color: #000;
}
.select2-results__option {
color:#000;
}
</style>
{% endblock %}
Tried to fix this dark mode compatibility issue in the PR #1280, it just needed to be reviewed.
It still doesn't work for me. What am I missing? Django==4.0.3 django-autocomplete-light==3.9.4
class AdressForm(forms.ModelForm):
class Meta:
model = Address
fields = ('__all__')
widgets = {
'city': autocomplete.ModelSelect2(url='city-autocomplete',
forward=['country', 'region'],
attrs = {'data-placeholder': '...',
}),
'region': autocomplete.ModelSelect2(url='region-autocomplete',
forward=['country'],
attrs = {'data-placeholder': '...',
})
}
Still no dark mode support in 3.9.4 :(
django==3.2.13
I opened #1308 to add support for dark mode.
Django 3.2 introduces dark mode in its admin website. DAL looks very poorly and need to take the same (or similar) styles as django autocomplete.