Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

# Changelog for v0.4.3

TailwindFormatter targets Tailwind CSS v3. For Tailwind v4, use
[canonical_tailwind](https://hex.pm/packages/canonical_tailwind), which sorts
classes via the `tailwindcss` CLI and Phoenix LiveView's `attribute_formatters`
API.

# Changelog for v0.4.0

TailwindFormatter v0.4.0 requires Elixir v1.15+.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

<!-- MDOC !-->

> **This package targets Tailwind CSS v3.** For Tailwind v4, use
> [`canonical_tailwind`](https://hex.pm/packages/canonical_tailwind), which sorts
> classes via the `tailwindcss` CLI and Phoenix LiveView's `attribute_formatters` API.

Opinionated sorting for [TailwindCSS](https://tailwindcss.com)
classes used in HEEx templates and `~H` sigils.

Expand Down
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ defmodule TailwindFormatter.MixProject do
version: @version,
elixir: "~> 1.15",
name: "TailwindFormatter",
description: "A Mix formatter that sorts your Tailwind classes",
description:
"Sorts Tailwind CSS v3 classes in HEEx templates. For Tailwind v4, use canonical_tailwind.",
deps: deps(),
docs: docs(),
package: package(),
Expand Down
Loading