Skip to main content

Administration interface styling using CSS variables

Project description

This project allows changing the colors used in Django’s administration panel using CSS variables. It only contains a copy of the CSS files which will be a part of the upcoming Django 3.2 release. The project is mainly intended for those who want to get their hands on the new theming and dark mode support a little bit earlier.

Also, if things do not look right please report those issues to the Django project (maybe while adding me to the Cc:) so that they can be fixed there.

Usage

python -m pip install django-variable-admin inside your project and insert variable_admin before django.contrib.admin into INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    "variable_admin",
    "django.contrib.admin",
    ...
]

./manage.py collectstatic now complains about duplicates with the same destination path. That’s to be expected.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-variable-admin-0.0.13.tar.gz (19.4 kB view details)

Uploaded Source

File details

Details for the file django-variable-admin-0.0.13.tar.gz.

File metadata

  • Download URL: django-variable-admin-0.0.13.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for django-variable-admin-0.0.13.tar.gz
Algorithm Hash digest
SHA256 f990a8583d1105d6a6318d40c42897f5a1b1b20db585c3e52288e10d5a2145e5
MD5 7ce783bb8dcbd66e8561ccb62312f410
BLAKE2b-256 b8d3b1a58511e35a3a34a488e3455cb31255d6c661d504c33d37dec5aa7b5d59

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page