# @terrazzo/plugin-tailwind

## 2.5.0

### Patch Changes

- [#791](https://github.com/terrazzoapp/terrazzo/pull/791) [`2a7bb89`](https://github.com/terrazzoapp/terrazzo/commit/2a7bb898033ffbf5d4d1c5a120aa60a78dfca7ed) Thanks [@mrginglymus](https://github.com/mrginglymus)! - Upgrade to tsgo/TypeScript 7

- Updated dependencies [[`055b580`](https://github.com/terrazzoapp/terrazzo/commit/055b580313c08dba8810e2690fea832f5d09a647), [`a05196b`](https://github.com/terrazzoapp/terrazzo/commit/a05196bb373c03528ca6cd6eabd6805ff27b009c)]:
  - @terrazzo/cli@2.4.1
  - @terrazzo/parser@2.5.0
  - @terrazzo/plugin-css@2.5.0

## 2.4.0

### Minor Changes

- [#778](https://github.com/terrazzoapp/terrazzo/pull/778) [`bdca3be`](https://github.com/terrazzoapp/terrazzo/commit/bdca3be143f7d7a1f06e4ca50e652c85f1d12a24) Thanks [@drwpow](https://github.com/drwpow)! - Feat: add orthogonality detection in resolver API (minus $extends)

### Patch Changes

- [#776](https://github.com/terrazzoapp/terrazzo/pull/776) [`f0b7240`](https://github.com/terrazzoapp/terrazzo/commit/f0b7240509bf27399cf8c68dc004f9011a4cd21e) Thanks [@ryuszi](https://github.com/ryuszi)! - Add plugin-tailwind package metadata.

- Updated dependencies [[`bdca3be`](https://github.com/terrazzoapp/terrazzo/commit/bdca3be143f7d7a1f06e4ca50e652c85f1d12a24), [`84b1dba`](https://github.com/terrazzoapp/terrazzo/commit/84b1dbacc0fe1aa3331d90e61d308eb91f96f8d5)]:
  - @terrazzo/parser@2.4.0
  - @terrazzo/cli@2.4.0
  - @terrazzo/plugin-css@2.4.0
  - @terrazzo/token-tools@2.4.0

## 2.3.0

### Minor Changes

- [#769](https://github.com/terrazzoapp/terrazzo/pull/769) [`96972d4`](https://github.com/terrazzoapp/terrazzo/commit/96972d4d4aee14a7ca290864c275a48e8f9139ba) Thanks [@drwpow](https://github.com/drwpow)! - [plugin-css]: Minor breaking change: inherit `alphabetize` from options

### Patch Changes

- Updated dependencies [[`96972d4`](https://github.com/terrazzoapp/terrazzo/commit/96972d4d4aee14a7ca290864c275a48e8f9139ba), [`77fc2e9`](https://github.com/terrazzoapp/terrazzo/commit/77fc2e97b3b15c9b4dcb9a66d796438c9fc482a7), [`a9a6bdc`](https://github.com/terrazzoapp/terrazzo/commit/a9a6bdc6f42977d13069ce1d87f3ac26a513099f)]:
  - @terrazzo/plugin-css@2.3.0
  - @terrazzo/cli@2.3.0
  - @terrazzo/parser@2.3.0
  - @terrazzo/token-tools@2.3.0

## 2.2.0

### Minor Changes

- [#736](https://github.com/terrazzoapp/terrazzo/pull/736) [`f760956`](https://github.com/terrazzoapp/terrazzo/commit/f7609563b66c648aaaede798e56f196d17633aa1) Thanks [@burkeshartsis](https://github.com/burkeshartsis)! - Add `variableName` option to control the final CSS variable name. This lets users preserve underscores (e.g. `--color-bg-primary_hover`) and double-dashes (e.g. `--text-xs--line-height`) that `makeCSSVar()` would otherwise normalize, enabling compatibility with design systems that use underscores as variant separators and Tailwind v4's paired property convention.

### Patch Changes

- Updated dependencies [[`5f2700e`](https://github.com/terrazzoapp/terrazzo/commit/5f2700e0bbe76cb19674feef8a3868653f273b11), [`5f2700e`](https://github.com/terrazzoapp/terrazzo/commit/5f2700e0bbe76cb19674feef8a3868653f273b11), [`108aad0`](https://github.com/terrazzoapp/terrazzo/commit/108aad068486ced7c6791683d30ce393cc4426ae), [`5f2700e`](https://github.com/terrazzoapp/terrazzo/commit/5f2700e0bbe76cb19674feef8a3868653f273b11)]:
  - @terrazzo/plugin-css@2.2.0
  - @terrazzo/token-tools@2.2.0

## 2.1.0

### Patch Changes

- [#709](https://github.com/terrazzoapp/terrazzo/pull/709) [`afbc08b`](https://github.com/terrazzoapp/terrazzo/commit/afbc08b5502e8f0cc7f4443303ec27a3533858f4) Thanks [@nagayama](https://github.com/nagayama)! - fix(plugin-tailwind): resolve template path relative to outDir in readFile

## 2.0.3

### Patch Changes

- [#726](https://github.com/terrazzoapp/terrazzo/pull/726) [`b326bd6`](https://github.com/terrazzoapp/terrazzo/commit/b326bd63b2f701707d0501675bde6d9b091de8fa) Thanks [@drwpow](https://github.com/drwpow)! - Improve token aliases where the primitive or primary has token, but aliases do not. This leads to dropped tokens in all plugins.

- [#723](https://github.com/terrazzoapp/terrazzo/pull/723) [`8cfc844`](https://github.com/terrazzoapp/terrazzo/commit/8cfc844b4cdaddb8f6ec50b396917628c7701de8) Thanks [@nagayama](https://github.com/nagayama)! - plugin-tailwind: write the template path in the generated file header relative to cwd so builds stay deterministic across machines (previously an absolute path like `/Users/alice/...` could leak into committed output)

- Updated dependencies [[`b326bd6`](https://github.com/terrazzoapp/terrazzo/commit/b326bd63b2f701707d0501675bde6d9b091de8fa)]:
  - @terrazzo/plugin-css@2.0.3
  - @terrazzo/parser@2.0.3
  - @terrazzo/cli@2.0.3
  - @terrazzo/token-tools@2.0.3

## 2.0.2

### Patch Changes

- [#719](https://github.com/terrazzoapp/terrazzo/pull/719) [`2d4014f`](https://github.com/terrazzoapp/terrazzo/commit/2d4014f12de99149d19a2f733a9723daf19c39d2) Thanks [@drwpow](https://github.com/drwpow)! - plugin-css: fix bug with legacy modeSelectors resolving to default alias instead of requested mode

- Updated dependencies [[`2d4014f`](https://github.com/terrazzoapp/terrazzo/commit/2d4014f12de99149d19a2f733a9723daf19c39d2)]:
  - @terrazzo/plugin-css@2.0.2
  - @terrazzo/cli@2.0.2
  - @terrazzo/parser@2.0.2
  - @terrazzo/token-tools@2.0.2

## 2.0.1

### Patch Changes

- [#699](https://github.com/terrazzoapp/terrazzo/pull/699) [`a23b751`](https://github.com/terrazzoapp/terrazzo/commit/a23b7510710943768731859215b92a98355e1c5c) Thanks [@drwpow](https://github.com/drwpow)! - [parser]: fix runtime error where $extensions may not have mode object

- Updated dependencies [[`a23b751`](https://github.com/terrazzoapp/terrazzo/commit/a23b7510710943768731859215b92a98355e1c5c)]:
  - @terrazzo/parser@2.0.1
  - @terrazzo/cli@2.0.1
  - @terrazzo/plugin-css@2.0.1
  - @terrazzo/token-tools@2.0.1

## 2.0.0

### Minor Changes

- Fully supports DTCG 2025.10 and resolvers.

- ⚠️ Breaking change: plugin-tailwind now uses [Custom variants](https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually) which allow for closer 1:1 translation from tokens.
  - This results in a config change from `modeVariations` → `customVariants`.

- [#530](https://github.com/terrazzoapp/terrazzo/pull/530) [`370ed7b`](https://github.com/terrazzoapp/terrazzo/commit/370ed7b0f578a64824124145d7f4936536b37bb3) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ Breaking change: lint on plugins no longer runs on individual files, rather, the full set once merged.

  If your lint plugin is not using the `src` context value, no changes are needed. If it is, you’ll need to instead read from the `sources` array, and look up sources with a token’s `source.loc` filename manually. This change was because lint rules now run on all files in one pass, essentially.

- [#530](https://github.com/terrazzoapp/terrazzo/pull/530) [`370ed7b`](https://github.com/terrazzoapp/terrazzo/commit/370ed7b0f578a64824124145d7f4936536b37bb3) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ [Plugin API] Minor breaking change: token.originalValue may be undefined for tokens created with $ref. This shouldn’t affect any tokens or plugins not using $refs. But going forward this value will be missing if the token was created dynamically via $ref.

- [#646](https://github.com/terrazzoapp/terrazzo/pull/646) [`fd9de2b`](https://github.com/terrazzoapp/terrazzo/commit/fd9de2b4a93f42e1f1bfd81cf4a63475b506488d) Thanks [@9rotama](https://github.com/9rotama)! - feat: add template option to plugin-tailwind

### Patch Changes

- [#530](https://github.com/terrazzoapp/terrazzo/pull/530) [`370ed7b`](https://github.com/terrazzoapp/terrazzo/commit/370ed7b0f578a64824124145d7f4936536b37bb3) Thanks [@drwpow](https://github.com/drwpow)! - Validation moved to lint rules, which means token validation can be individually configured, and optionally extended.

- [#568](https://github.com/terrazzoapp/terrazzo/pull/568) [`67c75be`](https://github.com/terrazzoapp/terrazzo/commit/67c75be78978cece52b61cf258ccc3a875e6af48) Thanks [@drwpow](https://github.com/drwpow)! - Fix border tokens not cascading correctly across modes

## 0.3.3

### Patch Changes

- [#550](https://github.com/terrazzoapp/terrazzo/pull/550) [`936789e`](https://github.com/terrazzoapp/terrazzo/commit/936789eb0604c5d8adfa256f16322d11fd99da6a) Thanks [@nlemoine](https://github.com/nlemoine)! - Add support for color-scheme property

- Updated dependencies [[`936789e`](https://github.com/terrazzoapp/terrazzo/commit/936789eb0604c5d8adfa256f16322d11fd99da6a)]:
  - @terrazzo/plugin-css@0.10.4

## 0.3.2

### Patch Changes

- [#513](https://github.com/terrazzoapp/terrazzo/pull/513) [`7bb2b26`](https://github.com/terrazzoapp/terrazzo/commit/7bb2b2612e00df34f15f75f6bd5c7251163b9783) Thanks [@camerondubas](https://github.com/camerondubas)! - fix tailwind import

## 0.3.1

### Patch Changes

- [#510](https://github.com/terrazzoapp/terrazzo/pull/510) [`4493731`](https://github.com/terrazzoapp/terrazzo/commit/4493731a4d458af45a1bb4c56e3fe0d42d66aeef) Thanks [@drwpow](https://github.com/drwpow)! - Reduce decimal places in color output.
  - [plugin-css] ⚠️ Minor breaking change: decimals have been simplified in output. To restore original behavior, pass in `colorDepth: 'unlimited'`

- Updated dependencies [[`4493731`](https://github.com/terrazzoapp/terrazzo/commit/4493731a4d458af45a1bb4c56e3fe0d42d66aeef)]:
  - @terrazzo/token-tools@0.10.1
  - @terrazzo/plugin-css@0.10.1
  - @terrazzo/cli@0.10.1

## 0.3.0

### Minor Changes

- [#507](https://github.com/terrazzoapp/terrazzo/pull/507) [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ Breaking change: remove HSV as a supported colorSpace, because it’s absent from CSS Color Module 4

- [#507](https://github.com/terrazzoapp/terrazzo/pull/507) [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ Breaking change: align color token ranges to CSS Color Module 4. This results in breaking changes to HSL and HWB, which normalize to `0 - 100`, rather than `0 - 1`:

  ```diff
    {
      "colorSpace": "hsl",
  -   "components": [270, 0.5, 0.4]
  +   "components": [270, 50, 40]
    }
  ```

  All other color spaces should be unaffected, as they were already matching CSS Color Module 4.

### Patch Changes

- [#507](https://github.com/terrazzoapp/terrazzo/pull/507) [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a) Thanks [@drwpow](https://github.com/drwpow)! - Fix a98-rgb colorSpace, accidentally referring to it as "a98"

- Updated dependencies [[`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a), [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a), [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a)]:
  - @terrazzo/token-tools@0.10.0
  - @terrazzo/cli@0.10.0
  - @terrazzo/plugin-css@0.10.0

## 0.2.1

### Patch Changes

- [#502](https://github.com/terrazzoapp/terrazzo/pull/502) [`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59) Thanks [@drwpow](https://github.com/drwpow)! - Fix bug in parsing LAB colors

- [#502](https://github.com/terrazzoapp/terrazzo/pull/502) [`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59) Thanks [@drwpow](https://github.com/drwpow)! - Add support for lab65 colors (not technically part of CSS Module 4 spec, but a nice convenience)

- Updated dependencies [[`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59), [`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59)]:
  - @terrazzo/token-tools@0.9.1
  - @terrazzo/cli@0.9.1
  - @terrazzo/plugin-css@0.9.1

## 0.2.0

### Minor Changes

- [#497](https://github.com/terrazzoapp/terrazzo/pull/497) [`9b80fd4`](https://github.com/terrazzoapp/terrazzo/commit/9b80fd4edd1198021d8e309483e8cd8551fe79dc) Thanks [@bschlenk](https://github.com/bschlenk)! - - potential 5x speedup for @terrazzo/plugin-css
  - removed isTokenMatch from @terrazzo/token-tools

### Patch Changes

- Updated dependencies [[`9b80fd4`](https://github.com/terrazzoapp/terrazzo/commit/9b80fd4edd1198021d8e309483e8cd8551fe79dc)]:
  - @terrazzo/cli@0.9.0
  - @terrazzo/plugin-css@0.9.0
  - @terrazzo/token-tools@0.9.0

## 0.1.0

### Minor Changes

- [#489](https://github.com/terrazzoapp/terrazzo/pull/489) [`63f91e6`](https://github.com/terrazzoapp/terrazzo/commit/63f91e6eee1bec5cf7fae3c1bffdde40a5604ec6) Thanks [@drwpow](https://github.com/drwpow)! - Use Rolldown for packaging 🚀

### Patch Changes

- Updated dependencies [[`63f91e6`](https://github.com/terrazzoapp/terrazzo/commit/63f91e6eee1bec5cf7fae3c1bffdde40a5604ec6)]:
  - @terrazzo/token-tools@0.8.0
  - @terrazzo/plugin-css@0.8.0
  - @terrazzo/cli@0.8.0

## 0.0.4

### Patch Changes

- [#485](https://github.com/terrazzoapp/terrazzo/pull/485) [`84335da`](https://github.com/terrazzoapp/terrazzo/commit/84335da86adbe4cf112b91d8d9bfa1301c5492d4) Thanks [@drwpow](https://github.com/drwpow)! - Add transform API to allow dynamic parsing / transformation of tokens on load

- Updated dependencies [[`84335da`](https://github.com/terrazzoapp/terrazzo/commit/84335da86adbe4cf112b91d8d9bfa1301c5492d4)]:
  - @terrazzo/cli@0.7.4
  - @terrazzo/plugin-css@0.7.4
  - @terrazzo/token-tools@0.7.4

## 0.0.3

### Patch Changes

- Updated dependencies [[`abc14c4`](https://github.com/terrazzoapp/terrazzo/commit/abc14c4f59f21a1c7d05d613dacdebcd9d512838)]:
  - @terrazzo/cli@0.7.3
  - @terrazzo/plugin-css@0.7.3
  - @terrazzo/token-tools@0.7.3

## 0.0.2

### Patch Changes

- [#477](https://github.com/terrazzoapp/terrazzo/pull/477) [`0e24810`](https://github.com/terrazzoapp/terrazzo/commit/0e248106b313e363edcfb1a27d11de619133af03) Thanks [@dzonatan](https://github.com/dzonatan)! - [plugin-css] add `baseSelector` option to css plugin to allow changing the root selector

## 0.0.1

### Patch Changes

- [#411](https://github.com/terrazzoapp/terrazzo/pull/411) [`2ad079c`](https://github.com/terrazzoapp/terrazzo/commit/2ad079c06dcdb3b0241e678b1625f202a4ec92b1) Thanks [@drwpow](https://github.com/drwpow)! - Fix bug in pnpm workspaces

- Updated dependencies [[`7e3d513`](https://github.com/terrazzoapp/terrazzo/commit/7e3d513e5bcde5e613cde35d367d49c6a46293a1), [`2ad079c`](https://github.com/terrazzoapp/terrazzo/commit/2ad079c06dcdb3b0241e678b1625f202a4ec92b1)]:
  - @terrazzo/plugin-css@0.3.2
