django-cms / djangocms-admin-style

django CMS Admin Style is a Django Theme tailored to the needs of django CMS.

Home Page:http://www.django-cms.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable dark theme

VoIlAlex opened this issue · comments

commented

I installed the package and in browsers with black theme enabled it displays table rows in dark colors. Is there a way to avoid this?
image

@VoIlAlex

I also saw this issue when django version 3.2 was installed but installing django 3.1 fixed it. Can you try installing django 3.1?
python -m pip install -Iv django==3.1

commented

@VoIlAlex

I also saw this issue when django version 3.2 was installed but installing django 3.1 fixed it. Can you try installing django 3.1?
python -m pip install -Iv django==3.1

Thanks for your reply. I'll try.

Hi, how to fix this issue with django 3.2? Thanks

IMHO the solution shouldn't be "disable dark theme" but instead "see how Django 3.2 uses dark theme and adjust our CSS to work with it."

pip install django-light
Add 'django_light', to INSTALLED_APPS before django.contrib.admin

This python package solve my problem.

IMHO the solution shouldn't be "disable dark theme" but instead "see how Django 3.2 uses dark theme and adjust our CSS to work with it."

I agree, this should be fixed and not just disable it. There are some areas of complexity for this because this package uses scss and the django implementation is using native css variables. I'm not sure how we can get the two to play nicely together.

This will be solved by #443