Skip to content

Commit

Permalink
Remove design system
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Apr 23, 2024
1 parent fc7104a commit c908cc8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It's designed to make managing the front end of DC projects easy and consistent.
Common templates include:

- `base_naked.html`: This template includes the basic html doc structure and template tags encasing details for open graph tags. Additional template tags for page titles, site css, site and page meta as well as body are included here.
- `base.html`: This template includes content and template tags for the page body. Basic `dc_design_system` branding and page structure is included here - header, nav, footer - as well as template tags for js and google analytics tracking code.
- `base.html`: This template includes content and template tags for the page body.
- Server Error (`500.html`) and Page Not Found (`404.html`): Using (Django's built-in views)[https://docs.djangoproject.com/en/4.0/ref/views/#the-404-page-not-found-view] for these templates breaks the static pipeline meaning we cannot rely on the base templates mentioned above and need repeat the basic template structure with absolute (rather than static) paths to branding assets.

Common assets include those files found in `/static/..` and `/static/favicon` which are used in the base templates.
Expand Down
1 change: 0 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pytest-mock
pytest-flakes
pytest-ruff
pytidylib
https://github.com/DemocracyClub/design-system/archive/refs/tags/0.5.0.tar.gz

whitenoise
pysass
Expand Down
4 changes: 0 additions & 4 deletions tests/testapp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import os
from pathlib import Path
import dc_design_system

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = Path(__file__).resolve(strict=True).parent
Expand Down Expand Up @@ -136,7 +135,4 @@
extra_js=[
"js/date.format.js",
],
extra_include_paths=[
dc_design_system.DC_SYSTEM_PATH + "/system",
],
)

0 comments on commit c908cc8

Please sign in to comment.