diff --git a/theme/__init__.py b/theme/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/theme/apps.py b/theme/apps.py new file mode 100644 index 0000000..bec7464 --- /dev/null +++ b/theme/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class ThemeConfig(AppConfig): + name = 'theme' diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css new file mode 100644 index 0000000..9bf3c00 --- /dev/null +++ b/theme/static_src/src/styles.css @@ -0,0 +1,10 @@ +@import "tailwindcss"; + +/** + * A catch-all path to Django template files, JavaScript, and Python files + * that contain Tailwind CSS classes and will be scanned by Tailwind to generate the final CSS file. + * + * If your final CSS file is not being updated after code changes, you may want to broaden or narrow + * the scope of this path. + */ +@source "../../../**/*.{html,py,js}"; diff --git a/theme/templates/base.html b/theme/templates/base.html new file mode 100644 index 0000000..cfa4088 --- /dev/null +++ b/theme/templates/base.html @@ -0,0 +1,19 @@ +{% load static tailwind_tags %} + + + + Django Tailwind + + + + {% tailwind_css %} + + + +
+
+

Django + Tailwind = ❤️

+
+
+ +