tailwindcss-rails 2.2.0-aarch64-linux → 2.2.1-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/exe/aarch64-linux/tailwindcss +0 -0
- data/lib/generators/tailwindcss/mailer/templates/layout.html.erb.tt +13 -0
- data/lib/generators/tailwindcss/mailer/templates/layout.text.erb.tt +1 -0
- data/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt +1 -1
- data/lib/tailwindcss/upstream.rb +1 -1
- data/lib/tailwindcss/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6c39b521222a02dae6cbd36c2882364702fc31bb0349a17c18be38285002347
|
4
|
+
data.tar.gz: db89fb7d82e9f15b5d08d8efdaabd993f796d487d26db61ea79bae5066815004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad0fe1807ae27cedcaa58243b2ce221d7c825160a3b16d326fafdff2e44c40adbfffd859076065363c16ad10b779ff900f4822ae899d36ea08c64a51ea2cf4d
|
7
|
+
data.tar.gz: a451a6f889ea9fa770361b246e1cee22af0f90a42d0f156c7291d25f823e4f61b26319e0f187b11e1768ade1d6a1e113c15a03e51742771bc8bce10e0007e08d
|
data/README.md
CHANGED
@@ -192,6 +192,12 @@ The inline version also works:
|
|
192
192
|
<section class="bg-[url('image.svg')]">Has the image as it's background</section>
|
193
193
|
```
|
194
194
|
|
195
|
+
### Conflict with pre-existing asset pipeline stylesheets
|
196
|
+
|
197
|
+
If you get a warning `Unrecognized at-rule or error parsing at-rule ‘@tailwind’.` in the browser console after installation, you incorrectly double-process `application.tailwind.css`. This is a misconfiguration, even though the styles will be fully effective in many cases. The file `application.tailwind.css` is installed when running `rails tailwindcss:install` and is placed alongside the common `application.css` in `app/assets/stylesheets`. Because the `application.css` in a newly generated Rails app includes a `require_tree .` directive, the asset pipeline incorrectly processes `application.tailwind.css`, where it should be taken care of by `tailwindcss`. The asset pipeline ignores TailwindCSS's at-directives, and the browser can't process them.
|
198
|
+
|
199
|
+
To fix the warning, you can either remove the `application.css`, if you don't plan to use the asset pipeline for stylesheets, and instead rely on TailwindCSS completely for styles. This is what this installer assumes. Else, if you do want to keep using the asset pipeline in parallel, make sure to remove the `require_tree .` line from the `application.css`.
|
200
|
+
|
195
201
|
## License
|
196
202
|
|
197
203
|
Tailwind for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<%%= yield %>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div class="my-5">
|
16
16
|
<% if attribute.password_digest? -%>
|
17
17
|
<%%= form.label :password %>
|
18
|
-
<%%= form.password_field :password %>
|
18
|
+
<%%= form.password_field :password, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<div class="my-5">
|
data/lib/tailwindcss/upstream.rb
CHANGED
data/lib/tailwindcss/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tailwindcss-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -58,6 +58,8 @@ files:
|
|
58
58
|
- lib/generators/tailwindcss/controller/controller_generator.rb
|
59
59
|
- lib/generators/tailwindcss/controller/templates/view.html.erb.tt
|
60
60
|
- lib/generators/tailwindcss/mailer/mailer_generator.rb
|
61
|
+
- lib/generators/tailwindcss/mailer/templates/layout.html.erb.tt
|
62
|
+
- lib/generators/tailwindcss/mailer/templates/layout.text.erb.tt
|
61
63
|
- lib/generators/tailwindcss/mailer/templates/view.html.erb.tt
|
62
64
|
- lib/generators/tailwindcss/mailer/templates/view.text.erb.tt
|
63
65
|
- lib/generators/tailwindcss/scaffold/scaffold_generator.rb
|