tailwind.com 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/package.json +1 -1
- package/runtime/release.json +1 -1
- package/runtime/tailwind.wasm +0 -0
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ tailwind.com [--input input.css] [--output output.css] [--watch] [--poll=ms] [op
|
|
|
60
60
|
In `mix.exs`, replace the Hex package `tailwind`:
|
|
61
61
|
|
|
62
62
|
```elixir
|
|
63
|
-
{:tailwind, github: "sntran/tailwind.com", tag: "v0.
|
|
63
|
+
{:tailwind, github: "sntran/tailwind.com", tag: "v0.4.0", runtime: Mix.env() == :dev}
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
The modules of a release download the `tailwind.com` of that release.
|
|
@@ -113,6 +113,18 @@ download, and a small build takes a third of the time. A builder (for
|
|
|
113
113
|
example the builder of BEAM.com) builds the NIF and puts it in `priv`,
|
|
114
114
|
and the project does not change. See [`docs/NIF.md`](docs/NIF.md).
|
|
115
115
|
|
|
116
|
+
`mix format` can sort the classes of the templates, as the Prettier
|
|
117
|
+
plugin of Tailwind CSS does, with the theme and the version of the
|
|
118
|
+
project: put `Tailwind.Formatter` before
|
|
119
|
+
`Phoenix.LiveView.HTMLFormatter` in the `plugins` of `.formatter.exs`.
|
|
120
|
+
See [`docs/FORMATTER.md`](docs/FORMATTER.md).
|
|
121
|
+
|
|
122
|
+
CSS functions, mixins, conditions and tree counting (`@function`,
|
|
123
|
+
`@mixin`, `@apply --name`, `if()`, `@when`, `sibling-index()`) need the
|
|
124
|
+
optimizer: add `--optimize` to the arguments of the profile, so the
|
|
125
|
+
watcher in development lowers them too. See
|
|
126
|
+
[`docs/MIXINS.md`](docs/MIXINS.md).
|
|
127
|
+
|
|
116
128
|
## npm
|
|
117
129
|
|
|
118
130
|
This repository is also the npm package `tailwind.com`:
|
|
@@ -330,6 +342,8 @@ runs it in the browser, with a small WASI host in JavaScript
|
|
|
330
342
|
| [`docs/BUILDING.md`](docs/BUILDING.md), [`docs/TESTING.md`](docs/TESTING.md) | Build `tailwind.com`, and the tests. |
|
|
331
343
|
| [`docs/BENCHMARKS.md`](docs/BENCHMARKS.md) | The time, the memory and the size, against the official programs. |
|
|
332
344
|
| [`docs/SITE.md`](docs/SITE.md) | The site on GitHub Pages: `tailwind.wasm` in the browser, with each version. |
|
|
345
|
+
| [`docs/MIXINS.md`](docs/MIXINS.md) | CSS functions, mixins, conditions, tree counting and math (`@function`, `@mixin`, `if()`, `@when`, `sibling-index()`, `round()`, `progress()`): the optimizer lowers them for the browsers of Tailwind CSS. |
|
|
346
|
+
| [`docs/FORMATTER.md`](docs/FORMATTER.md) | The sort of classes of HEEx templates with `mix format`, as the Prettier plugin of Tailwind CSS does. |
|
|
333
347
|
| [`docs/NIF.md`](docs/NIF.md) | The program as a NIF in the Erlang VM, for a builder such as the builder of BEAM.com. |
|
|
334
348
|
| [`docs/SYNC.md`](docs/SYNC.md) | Move to a new version of Tailwind CSS. |
|
|
335
349
|
| [`docs/ROADMAP.md`](docs/ROADMAP.md) | What comes next. |
|
package/package.json
CHANGED
package/runtime/release.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "0.
|
|
1
|
+
{"version": "0.4.0", "tag": "v0.4.0", "tailwindcss": "4.3.5", "sha256": "10e5fc67a22e2954d01c50073befa429aebdcd9ab6e1f41a8bfb51aa606e1083"}
|
package/runtime/tailwind.wasm
CHANGED
|
Binary file
|