-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show example templates using another CSS framework #9
Comments
picocss. |
@dertuxmalwieder — that's a speedy answer! Would you fancy submitting? |
Not today - busy over the weekend. Bookmarked… |
Good thread on Mastodon points to the survey which has Bootstrap the most used framework by far. |
I just added picocss in my base.html
To override the neapolitan templates, just create a neapolitan folder inside your django templates folder. Then rewrite the templates that you want to customize. I only rewrote the neapolitan/partial/detail.html as a test:
Hope this helps. |
@gelie would you like to add that as a sub folder in a |
Is it the goal of this project to support other css framework aside from tailwind? My project uses bootstrap so I over-road the templates with bootstrap ones (I also used crispy-forms) |
Hi @abe-101 — I think an example project overriding the core templates is what's needed, so a I expect folks to copy/paste the templates into their own project rather than adding complex settings tweaks. In general I expect folks to override the templates on a per project, or per-model even, basis, rather than using the provided ones for very long. Some docs explaining this approach are probably needed here too. (Happy to help with those.) |
@carltongibson An example project sounds good |
Just at the project root. |
PR #72 adds a bootstrap example |
The default templates use Tailwind, but it's not compulsory.
An
examples/X_css
mini-project showing overriding the default would be good to have.Million dollar question: which framework? 😅
The text was updated successfully, but these errors were encountered: