Add TailwinCSS 3 support - #1762
Conversation
|
@carlosantoniodasilva It would be great if this PR would further be looked into and proceeded with a merge. |
|
I'm not sure how getting a pull request works in this project, but I've read through these commits and they look good to me. |
|
any news? |
Nope( |
|
I'd love if this was available too! |
|
Hope this get merged someday soon :)! |
| ``` | ||
| abbr[title=required] { | ||
| @apply !text-red-500 no-underline; | ||
| } |
There was a problem hiding this comment.
Hi @loqimean! Thanks for your contribution!
I noticed that we can use the following snippet at the config/locales/simple_form.en.yml file and override the abbr props
required:
# text: "required"
# mark: "*"
html: '<abbr class="text-red-500 no-underline" title="required">*</abbr>'btw, you should add the simple_form.*.yml into the content array at the tailwind.config.js file
There was a problem hiding this comment.
oh, nice idea, can you add it to the PR?)
There was a problem hiding this comment.
@loqimean I ended up creating a gem to install the tailwind theme and added the locale file automatically. (It also has support for bulma css)
|
is this PR dead? |
Would be ask it for an author of a gem, because I'm ready to update it and merge |
|
I love this. Thank you! Has anyone had any trouble using it? |
|
Hey! I've developed a gem to support simple_form themes for modern CSS frameworks. We currently support Bulma and Tailwind CSS. Feel free to contribute by opening issues or pull requests. See you soon! |

Add support for the TailwindCSS 3 framework. Now is supporting horizontal forms. It looks like this: