Skip to main content

Dark Themes for Django Rest Framework

Project description

drf-dark-theme

https://img.shields.io/pypi/v/drf-dark-theme.svg

Dark themes for Django REST Framework

Stellar Color Palette

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-palette.png

Stellar Theme

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-ss.png

Moonshine Color Palette

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/moonshine-palette.png

Moonshine Theme

https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/moonshine-ss.png

Installation

Install using pip

pip install drf-dark-theme

Add ‘drf_chaos’ to your INSTALLED_APPS setting

INSTALLED_APPS = (
    ...
    'drf_dark_theme',
)

Add either StellarBrowsableAPIRenderer or MoonshineBrowsableAPIRenderer to DEFAULT_RENDERER_CLASSES

REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        ...
        'drf_dark_theme.renderers.StellarBrowsableAPIRenderer',
    )
}

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

drf-dark-theme-0.3.tar.gz (220.3 kB view hashes)

Uploaded Source

Built Distribution

drf-dark-theme-0.3.macosx-10.10-intel.exe (380.8 kB view hashes)

Uploaded Source

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