Skip to main content

Base16 color themes for Django Admin.

Project description

django-base16-admin

🎨 Base16 color themes for Django Admin.
Includes multiple themes with easy setup, live previews, and ready-to-use CSS files.

Installation

pip install django-base16-admin
# uv add django-base16-admin

Usage

  1. Add base16_admin before django.contrib.admin in your INSTALLED_APPS:
INSTALLED_APPS = [
    "base16_admin",  # must come first
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    ...
]
  1. (Optional) Choose a theme in your Django settings.py:
BASE16_THEME = "circus"  # default = "circus"

Available themes are stored in base16_admin/static/admin/themes/.

  1. Run collectstatic (prod):
python manage.py collectstatic
  1. Start your project and enjoy your new admin look 🎉

Available Themes

Here are the currently available Base16 themes for Django Admin:

Theme Name Key Preview Theme CSS
Circus circus Preview circus.css
Cupcake cupcake Preview cupcake.css
Tokyo City Dark tokyo-city-dark Preview tokyo-city-dark.css
Tokyo City Light tokyo-city-light Preview tokyo-city-light.css

Contributing

Contributions are welcome!
Feel free to open issues or submit PRs for new Base16 themes or improvements.

License

MIT Copyright (c) stabldev

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_base16_admin-0.1.5.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_base16_admin-0.1.5-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file django_base16_admin-0.1.5.tar.gz.

File metadata

  • Download URL: django_base16_admin-0.1.5.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.22

File hashes

Hashes for django_base16_admin-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4625cfb126c33b934beebe1da3b9cb425f4b2f5d0b755a7e78efe042278ca885
MD5 5393736d3dbfa65a6a2f464baaa7e095
BLAKE2b-256 c6a941d0fb6e3fabcc439eb34186a04155e7dd549317d1c79dda97807688ea07

See more details on using hashes here.

File details

Details for the file django_base16_admin-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_base16_admin-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8cd009dae0deb6b9e62c0e90d36ca6ef1e9f38be11b89cd6685a08d13a6d6c91
MD5 ebf40503db7eb27930f5561e8d28ba76
BLAKE2b-256 d05c8100ccfeb467fe4a556c711ab48ecad15d3844d5aea38e3d1dd9e96dbb6c

See more details on using hashes here.

Supported by

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