pagy - tail wind extra? #420
Closed
benkoshy
started this conversation in
Feature Requests
Replies: 2 comments 9 replies
-
Not sure I get the point of this. Maybe I am missing something here.
What about using exactly the same CSS, which applies to all pagy output? How would you write an extra when you actually need a CSS file? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Just dropping in and voicing my interest in something like this as well. For the time being, I am overriding |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it a ridiculous idea to add support for a pagy tailwind extra?
Why?
Tailwind is predicated on in-line styles - allowing for easy cusotmisation of css in-line. The current approach is to use add a custom css file
pagy.css
with tailwind specific styles. This works well enough: yet it feels contrary to the tailwind way of doing this, and becomes tricky if customization is necessary. The following must be altered in order go get customized styling:How would you customize the above styles, with the
pagy_nav
template to acheive the desired outcome? Is not a trivial operation IMO.However, with a tailwind specific extra - and with healthy default options - this allows for a much easier time with customizing specific styling.
What does everyone think?
Beta Was this translation helpful? Give feedback.
All reactions