semvec/pypi-packages huggingface dataset:
drf-dark-theme 0.3
Dark Themes for Django Rest Framework
License: BSD

drf-dark-theme
==============

.. image:: https://img.shields.io/pypi/v/drf-dark-theme.svg

Dark themes for `Django REST Framework`_

.. _Django REST Framework: https://github.com/tomchristie/django-rest-framework

Stellar Color Palette
----------------------
.. image:: https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-palette.png

Stellar Theme
-------------
.. image:: https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/stellar-ss.png


Moonshine Color Palette
-----------------------
.. image:: https://raw.githubusercontent.com/aledista/drf-dark-theme/master/drf_dark_theme/static/drf_dark_theme/img/moonshine-palette.png

Moonshine Theme
---------------
.. image:: 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',
        )
    }