Components

The django-logikal package provides a comprehensive library of styled components. You can simply add the style sheets and JavaScript logic of the relevant component modules to the <head> element of the given page template via the component_head block and the component_head() function:

{% block component_head %}
  {{ component_head('commons', 'auth') }}
{% endblock %}

Many of the components are implemented via Jinja macros, which can be imported via their respective module as follows:

{% import 'django_logikal/components/commons.html.j' as commons %}
{% import 'django_logikal/components/auth.html.j' as auth %}
...

Styling