Skip to content

A simple app for your Django project to add the U.S. Web Design System (USWDS) styles and components.

License

Notifications You must be signed in to change notification settings

ChrisCompton/django_uswds

Repository files navigation

Django USWDS Theme

USWDS Documentation: https://designsystem.digital.gov/documentation/developers/

To add to your Django project, from the base directory:

git submodule add https://github.com/ChrisCompton/django_uswds

Submodules can be confusing to manage in your project, but are very powerful. You can learn more here.

In settings.py:

    TEMPLATES = [
        {
            "BACKEND": "django.template.backends.django.DjangoTemplates",
            "DIRS": ['django_uswds/templates'],
            "APP_DIRS": True,
            ...
        },
    ]
    STATICFILES_DIRS = [
        ("uswds", BASE_DIR / "django_uswds/vendor/dist")
    ]

See templates/index.html to get started, or copy into your own app.

About

A simple app for your Django project to add the U.S. Web Design System (USWDS) styles and components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published