Skip to content

Commit 68a3989

Browse files
authored
Mark the package as targeting Tailwind CSS v3 (#79)
For Tailwind v4, use canonical_tailwind. This adds a README banner, updates the mix.exs description, and adds a CHANGELOG entry so the v3 scope and the v4 pointer surface on GitHub, hex.pm, and hexdocs. Docs and metadata only, no code changes.
1 parent 002b452 commit 68a3989

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
# Changelog for v0.4.3
3+
4+
TailwindFormatter targets Tailwind CSS v3. For Tailwind v4, use
5+
[canonical_tailwind](https://hex.pm/packages/canonical_tailwind), which sorts
6+
classes via the `tailwindcss` CLI and Phoenix LiveView's `attribute_formatters`
7+
API.
8+
29
# Changelog for v0.4.0
310

411
TailwindFormatter v0.4.0 requires Elixir v1.15+.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
<!-- MDOC !-->
66

7+
> **This package targets Tailwind CSS v3.** For Tailwind v4, use
8+
> [`canonical_tailwind`](https://hex.pm/packages/canonical_tailwind), which sorts
9+
> classes via the `tailwindcss` CLI and Phoenix LiveView's `attribute_formatters` API.
10+
711
Opinionated sorting for [TailwindCSS](https://tailwindcss.com)
812
classes used in HEEx templates and `~H` sigils.
913

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ defmodule TailwindFormatter.MixProject do
1010
version: @version,
1111
elixir: "~> 1.15",
1212
name: "TailwindFormatter",
13-
description: "A Mix formatter that sorts your Tailwind classes",
13+
description:
14+
"Sorts Tailwind CSS v3 classes in HEEx templates. For Tailwind v4, use canonical_tailwind.",
1415
deps: deps(),
1516
docs: docs(),
1617
package: package(),

0 commit comments

Comments
 (0)