﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32018	Themeing support for django.contrib.admin using CSS variables	Matthias Kestenholz	Matthias Kestenholz	"I propose using CSS variables for defining the colors used in the Django administration panel.

This should make it possible to replace the colors used inside the Django administration panel with a few lines of custom CSS and may also help with the further maintenance of third party apps such as https://github.com/fabiocaccamo/django-admin-interface/

The targeted browsers all support CSS variables, see https://docs.djangoproject.com/en/3.1/faq/admin/#what-browsers-are-supported-for-using-the-admin and https://caniuse.com/?search=css%20variables

This should also make it easier to reuse colors in third party apps.

Here's how this might look: 
https://github.com/matthiask/django/compare/f3901b5899d746dc5b754115d94ce9a045b4db0a...matthiask:mk/admin-css-variables

(The final hunk in base.html would also belong into admin/css/base.css, but I have added the code elsewhere for the moment because it makes it easier to `sed` and `grep` my way through the changes.)"	New feature	closed	contrib.admin	3.1	Normal	fixed			Ready for checkin	1	0	0	0	1	1
