kaminari_themes icon indicating copy to clipboard operation
kaminari_themes copied to clipboard

Adds Tailwind CSS theme

Open tonidezman opened this issue 5 years ago • 6 comments

Hi,

if you need me to add slim and haml templates please let me know.

Screen Shot 2019-09-25 at 06 45 04

tonidezman avatar Sep 25 '19 04:09 tonidezman

Thank you so much!

mattrw89 avatar Jun 26 '20 12:06 mattrw89

I love Tailwind CSS and would love to merge this in. But if we do this... where did these UI components come from? Tailwind CSS itself is just a set of utility classes and they do not provide high-level components. The Tailwind UI is a paid product (which we can't add due to the licensing reasons.)

@tonidezman Did you made the components yourself, or you actually took them from somewhere else? I would really like to make sure there is no copyright issues here.

yuki24 avatar Jan 25 '22 04:01 yuki24

@yuki24 Sorry to just jump into a random thread here, but I think I might have some context. Tailwind UI was previously an additional bundle that had to be added to projects in addition to Tailwind CSS, but they've gotten rid of that so now Tailwind UI is effectively a site that you can pay to have access to pre-built component inspiration that can be copied / pasted into your own project (not a lawyer, but do use base Tailwind CSS and Tailwind UI). This appears to use base Tailwind CSS classes (and Tailwind is now included with Rails 7), so this addition from @tonidezman feels quite fitting.

bobbrodie avatar Mar 22 '22 00:03 bobbrodie

Thank you, just what I needed.

braindeaf avatar Jan 21 '24 21:01 braindeaf

I personally would love to merge, but there needs to be some clarifications around what the copyright situation is about this change.

To be 100% clear, I personally do use Tailwind CSS on a daily-basis and also do have the paid Tailwind UI license, so I am fully aware of the technical details and the licensing model there. It is still unclear to me where the proposed change in this PR came from, and we can't merge this PR unless @tonidezman gives us clarifications on it.

yuki24 avatar Feb 05 '24 01:02 yuki24

Tailwind CSS is open-sourced as MIT licensed. I don't think there is a legal issue with that license in mind and it should be good to merge, imo. Hence, a chunk of the CSS classes came from the Tailwind CSS documentation.

Some examples: Example 1 Example 2 Example 3

rodrigoargumedo avatar Aug 05 '24 12:08 rodrigoargumedo