stillwind 0.11.0 → 0.13.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.
Files changed (120) hide show
  1. package/AGENTS_TEMPLATE.md +3 -2
  2. package/CHANGELOG.md +80 -0
  3. package/README.md +3 -3
  4. package/css/builtin-utilities/tw-borders.css +59 -59
  5. package/css/builtin-utilities/tw-effects.css +53 -53
  6. package/css/builtin-utilities/tw-typography.css +13 -13
  7. package/dist/class-object-C87DR3v2.js +6 -0
  8. package/dist/class-object-C87DR3v2.js.map +1 -0
  9. package/dist/class-object-CR0QHoF9.d.ts +10 -0
  10. package/dist/{class-string-C5YFtXQn.d.ts → class-string-BlClX8JK.d.ts} +2 -2
  11. package/dist/class-string-CiNTVHYm.js +6 -0
  12. package/dist/{class-string-KnYInbiw.js.map → class-string-CiNTVHYm.js.map} +1 -1
  13. package/dist/{formats-Ctf2WFc-.js → formats-DP9B9SG6.js} +228 -113
  14. package/dist/formats-DP9B9SG6.js.map +1 -0
  15. package/dist/{formats-aeLCNAXl.d.ts → formats-NBNjMP5R.d.ts} +34 -12
  16. package/dist/frameworks/alpine.d.ts +5 -3
  17. package/dist/frameworks/alpine.js +3 -1
  18. package/dist/frameworks/alpine.js.map +1 -1
  19. package/dist/frameworks/astro.d.ts +3 -3
  20. package/dist/frameworks/astro.js +1 -1
  21. package/dist/frameworks/lit.d.ts +5 -3
  22. package/dist/frameworks/lit.js +3 -1
  23. package/dist/frameworks/lit.js.map +1 -1
  24. package/dist/frameworks/preact.d.ts +3 -3
  25. package/dist/frameworks/preact.js +1 -1
  26. package/dist/frameworks/qwik.d.ts +3 -3
  27. package/dist/frameworks/qwik.js +1 -1
  28. package/dist/frameworks/react.d.ts +2 -2
  29. package/dist/frameworks/react.js +1 -1
  30. package/dist/frameworks/solid.d.ts +3 -3
  31. package/dist/frameworks/solid.js +1 -1
  32. package/dist/frameworks/svelte.d.ts +3 -3
  33. package/dist/frameworks/svelte.js +1 -1
  34. package/dist/frameworks/vanilla.d.ts +5 -3
  35. package/dist/frameworks/vanilla.js +6 -1
  36. package/dist/frameworks/vanilla.js.map +1 -0
  37. package/dist/frameworks/vue.d.ts +3 -3
  38. package/dist/frameworks/vue.js +1 -1
  39. package/dist/{index-DBpgaaD7.d.ts → index-DpaDcczW.d.ts} +157 -57
  40. package/dist/macro/index.d.ts +2 -2
  41. package/dist/macro/index.js +1 -1
  42. package/dist/runtime/development.d.ts +16 -8
  43. package/dist/runtime/development.js +57 -21
  44. package/dist/runtime/development.js.map +1 -1
  45. package/dist/runtime/index.d.ts +2 -2
  46. package/dist/runtime/index.js +1 -1
  47. package/dist/style-dMBm8aX_.js +50 -0
  48. package/dist/style-dMBm8aX_.js.map +1 -0
  49. package/docs/agents.md +1 -0
  50. package/docs/at-rules/apply.md +1 -1
  51. package/docs/at-rules/custom-variant.md +1 -1
  52. package/docs/at-rules/slot.md +1 -1
  53. package/docs/at-rules/stillwind-property.md +1 -1
  54. package/docs/at-rules/stillwind-registry.md +7 -7
  55. package/docs/at-rules/stillwind-require-properties.md +1 -1
  56. package/docs/at-rules/stillwind-undef-arbitrary-property.md +1 -1
  57. package/docs/at-rules/stillwind-undef-utility.md +1 -1
  58. package/docs/at-rules/stillwind-undef-variant.md +1 -1
  59. package/docs/at-rules/theme.md +5 -5
  60. package/docs/at-rules/utility.md +43 -4
  61. package/docs/at-rules/variant.md +1 -1
  62. package/docs/cli.md +146 -51
  63. package/docs/concepts/css-ordering.md +46 -7
  64. package/docs/concepts/how-styles-compile.md +8 -8
  65. package/docs/configuration.md +63 -4
  66. package/docs/errors/SW01001.md +1 -1
  67. package/docs/errors/SW03001.md +1 -1
  68. package/docs/errors/SW10004.md +1 -1
  69. package/docs/errors/SW10005.md +1 -1
  70. package/docs/errors/SW10006.md +34 -0
  71. package/docs/errors/SW11001.md +1 -1
  72. package/docs/errors/SW12001.md +1 -1
  73. package/docs/errors/SW12002.md +1 -1
  74. package/docs/errors/SW13002.md +1 -1
  75. package/docs/errors/SW14001.md +1 -1
  76. package/docs/errors/SW14002.md +1 -1
  77. package/docs/errors/SW14003.md +1 -1
  78. package/docs/errors/SW14004.md +1 -1
  79. package/docs/errors/SW14007.md +1 -1
  80. package/docs/errors/SW32003.md +1 -1
  81. package/docs/errors/SW32005.md +1 -1
  82. package/docs/errors/index.md +1 -0
  83. package/docs/formatters.md +34 -2
  84. package/docs/guides/lint-adoption.md +2 -0
  85. package/docs/guides/migrating-from-tailwind.md +60 -9
  86. package/docs/guides/recommended-practices.md +18 -0
  87. package/docs/guides/reusable-styles.md +2 -2
  88. package/docs/guides/tailwind-compatibility.md +8 -0
  89. package/docs/index.md +4 -5
  90. package/docs/integrations.md +314 -79
  91. package/docs/lints/conflicting-utilities.md +9 -0
  92. package/docs/lints/cyclic-style-order.md +61 -0
  93. package/docs/lints/index.md +26 -10
  94. package/docs/lints/{invalid-cva-config.md → invalid-recipe-config.md} +8 -8
  95. package/docs/lints/{invalid-cva-input.md → invalid-recipe-input.md} +9 -9
  96. package/docs/lints/invalid-rule-group-input.md +1 -1
  97. package/docs/lints/missing-view-transition-name.md +1 -1
  98. package/docs/lints/multiple-style-forwards.md +59 -0
  99. package/docs/lints/partial-utility-override.md +77 -0
  100. package/docs/lints/prefer-direct-styling.md +1 -1
  101. package/docs/lints/suspending-macro-argument.md +1 -1
  102. package/docs/lints/utility-class-selector.md +72 -0
  103. package/docs/llms.txt +238 -0
  104. package/docs/macros/index.md +1 -1
  105. package/docs/macros/recipe.md +246 -0
  106. package/docs/macros/style.md +72 -0
  107. package/docs/macros/when.md +1 -1
  108. package/docs/plugins/iconify.md +2 -0
  109. package/docs/utilities-and-variants.md +2 -0
  110. package/package.json +6 -6
  111. package/skills/setup-stillwind/SKILL.md +1 -2
  112. package/skills/stillwind/SKILL.md +19 -12
  113. package/dist/class-object-BaK8uudd.d.ts +0 -9
  114. package/dist/class-object-DNcjzcfH.js +0 -6
  115. package/dist/class-object-DNcjzcfH.js.map +0 -1
  116. package/dist/class-string-KnYInbiw.js +0 -6
  117. package/dist/formats-Ctf2WFc-.js.map +0 -1
  118. package/dist/style-BE8vuLiO.js +0 -44
  119. package/dist/style-BE8vuLiO.js.map +0 -1
  120. package/docs/macros/cva.md +0 -155
@@ -1,5 +1,6 @@
1
1
  ## Stillwind
2
2
 
3
3
  - This project styles elements with [Stillwind](https://stillwind.dev/). Stillwind compiles Tailwind CSS v4 utilities in `style()` calls into element props and static CSS.
4
- - Before you change styles, read the relevant Markdown docs in `node_modules/stillwind/docs/`. Start with `guides/recommended-practices.md`. `node_modules/stillwind/skills/stillwind/SKILL.md` lists the page for each task.
5
- - After you change styles, run `stillwind lint --fix` and `stillwind fmt` through the project's package manager, and fix the remaining findings.
4
+ - Before you change styles, read the relevant Markdown docs in `node_modules/stillwind/docs/`. Start with `guides/recommended-practices.md`; `docs/llms.txt` indexes every page, and `node_modules/stillwind/skills/stillwind/SKILL.md` maps tasks to pages.
5
+ - After you change styles, run `stillwind check --fix` through the project's package manager, and fix the remaining findings.
6
+ - When you need to debug styles or look up an unfamiliar token or utility, use `stillwind inspect <file>:<line>`, `stillwind theme --source project`, or `stillwind utilities <name>` (add `--format json` when parsing the output).
package/CHANGELOG.md CHANGED
@@ -1,5 +1,85 @@
1
1
  # stillwind
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - When a file imports and uses a value from another file, such as a component, the CSS of the file that declares the value now comes first. A style that `src/App.tsx` passes to a component therefore wins over the component's own utilities, whether the style is written in the element's props, stored in a variable, or passed to a child element as with `asChild`. Previously, files without a base relationship were ordered by path, so such a style could lose to a component in `src/components/`. Imports through re-exporting files and through files without `style()` calls order files in the same way. The new `cyclic-style-order` lint rule reports files that import values from each other, so that both orders cannot hold.
8
+
9
+ - CSS `@variant` rules now accept `or(...)` variant alternatives, such as `@variant md:or(hover,focus) { ... }`.
10
+
11
+ - `@utility` and `@stillwind-utility` accept the `(exclusive)` header descriptor. For a named value, the first `(exclusive)` definition of a name whose `--value()` accepts the value decides the theme namespace or other source, and other `(exclusive)` definitions apply only when they read the value from the same source.
12
+
13
+ Built-in utilities that read a value from several sources now resolve a named value as Tailwind CSS does. For example, when `@theme` defines both `--shadow-plain` and `--color-plain`, `shadow-plain` sets only the shadow, and `text-plain` sets only the color. This applies to `shadow-*`, `inset-shadow-*`, `drop-shadow-*`, `text-shadow-*`, `text-*`, `decoration-*`, `ring-*`, `inset-ring-*`, `outline-*`, and the `border-*` utilities. Previously, such a utility set the declarations of every matching namespace. When a color token has a number as its name, such as `--color-2`, `border-2`, `ring-2`, `inset-ring-2`, and `outline-2` now set only the color, and `decoration-2` sets only the thickness.
14
+
15
+ In the compiler's utility order, `outline-<number>`, `ring-<number>`, and `inset-ring-<number>` now follow the color utilities of the same root, and `decoration-<number>` now precedes them. `stillwind lint --fix` updates class lists that `prefer-sorted-utilities` reports.
16
+
17
+ - The new `partial-utility-override` lint rule reports a utility that overrides another utility of the same family but leaves some of its properties in place, such as `text-[0.8rem]` over `text-sm`, which keeps the line height of `text-sm`. tailwind-merge removes the whole overridden utility, so code migrated from `cn()` can look different. The rule checks utilities added to a base with `style(base, ...)`, utilities under a JavaScript condition, and variant options and compound values of `style.recipe()`.
18
+
19
+ `conflicting-utilities` no longer reports a utility under a JavaScript condition that is written after the other utility, as in `style("p-2", wide && "p-4")`, because the conditional utility overrides the other one when the condition is true, as the code shows.
20
+
21
+ - `style.recipe()` accepts `slots` and `compoundSlots` in the format of tailwind-variants. With `slots`, the factory returns one function for each slot, such as `const { base, icon } = card({ size })`, and each function returns props for that element. Option values and compound `class` values can set styles for several slots with an object such as `{ base: "p-2", icon: "size-3" }`. A slot function accepts its own classes, option values for that slot only, and a `style.forward()` value.
22
+
23
+ - `style.forward()` passes the class and style props that a component receives to the `style()` call of its element, as in `style("rounded p-4", style.forward({ className, style }))`. The forwarded classes come after the component's classes, and the forwarded inline style and custom properties replace the component's ones. A `style.recipe()` factory takes a `style.forward()` value as its second argument. The React, Preact, Solid, Qwik, Vue, Svelte, and Astro entrypoints provide it.
24
+
25
+ - `style.cva()` is now `style.recipe()`. The configuration and the returned factory do not change. Replace each `style.cva(` call with `style.recipe(`. The lint rules `invalid-cva-config` and `invalid-cva-input` are now `invalid-recipe-config` and `invalid-recipe-input`, so rename them in your lint configuration too. The old names are no longer accepted.
26
+
27
+ - The new `utility-class-selector` lint rule reports variant selectors that test the `class` attribute for a utility name, such as `[&_svg:not([class*='size-'])]:size-4` in shadcn/ui components or `[&.border-b]:pb-6`. Stillwind writes generated class names, so these tests do not see the utilities of an element, and a default such as the icon size replaces the size that the element sets. For the default-size form, the automatic fix gives the rule zero specificity with `:where()`, such as `[:where(&_svg)]:size-4` or `[:where(&>svg)]:size-8` for `*:[svg:not([class*=size-])]:size-8`, so a class on the element that sets the same property wins.
28
+
29
+ ### Patch Changes
30
+
31
+ - A `style()` call that is the body of an arrow function, such as `(className) => style("p-4", { class: className })` or Vue's `computed(() => style("p-4"))`, now compiles to valid JavaScript. Previously, the compiled object literal was read as a block, so the build failed.
32
+
33
+ - The integration guide now lists the converter packages that Vue, Svelte, and Astro components need, such as `svelte2tsx` for Svelte. Package managers do not install these optional peer dependencies automatically.
34
+
35
+ - Standard CSS keywords, function names, and at-rule names in arbitrary values and authored CSS now match ASCII case-insensitively, while custom `--` identifiers and function names remain case-sensitive. For example, values such as `INITIAL`, `AUTO`, `CALC(1PX + 2px)`, `VAR(--space)`, `LIGHT-DARK(red, blue)`, and `@PROPERTY` rules are now recognized as standard CSS syntax.
36
+
37
+ - Plugin utilities, such as Iconify icons, are now defined for the candidates that style inputs use, instead of for candidate-like text anywhere in a module. An icon is no longer reported as `unknown-utility` when the same file contains a quote inside a regular expression literal, such as `/["']/`. Comments and unrelated strings no longer make the plugin define utilities.
38
+
39
+ - The generated CSS now declares a value from a `@theme inline` block when the CSS refers to it with `var()`, as Tailwind CSS does. For example, `rounded-[min(var(--radius-md),12px)]` with `--radius-md` in `@theme inline` now gets `--radius-md` in the theme layer, instead of an undefined variable and a border radius of `0`. Values from a `@theme reference` block are never declared.
40
+
41
+ - Analysis no longer prepares the TypeScript checker again each time CSS ordering reads a module that the analyzed files do not import for type information. `stillwind lint`, `fmt`, and `check` and the editor finish sooner in projects whose components are imported through other modules.
42
+
43
+ - Hover previews now parenthesize conditions by JavaScript operator precedence, so a condition such as `/[)(]/.test(value)` or `a ?? b` is shown correctly. Type checking also accepts producer calls whose argument list ends with a comment, such as `style.ref(value // note,` followed by a new line.
44
+
45
+ - Relationship variants such as `group-*` now apply each selector of a custom variant that lists several selectors. For example, with shadcn/ui's `@custom-variant data-disabled` that lists two `:where()` selectors, `group-data-disabled/checkbox:opacity-50` styles the descendants of `.group/checkbox` in both cases, and `repeated-nesting-selector` no longer reports it.
46
+
47
+ - `shadow-*`, `inset-shadow-*`, `drop-shadow-*`, and `text-shadow-*` utilities now use a theme value that is one `var()` reference as the shadow. For example, with `--shadow-surface: var(--surface-shadow)` in `@theme`, `shadow-surface` sets `--tw-shadow: var(--surface-shadow)`. Previously, when the theme also had `--color-surface`, the utility set only the shadow color, and the element had no shadow.
48
+
49
+ - Tailwind CSS plugins now split selectors, candidate modifiers, and arbitrary values, and reject invalid arbitrary values, by the same rules as Tailwind CSS. For example, a `,` inside `{}` no longer splits a value, and an arbitrary value with an unbalanced `)` or `]` is rejected. A theme value that refers to its own variable through `--name(...)` or a nested `var()` fallback is now also kept out of the generated variable declarations.
50
+
51
+ - Vue templates can now pass `style()` to a component element, as in `<Button v-bind="style('p-4')">` or `<Button :class="style('p-4').class">`. Previously, the build failed with SW31009.
52
+
53
+ - Updated dependencies:
54
+ - @stillwind/config@0.13.0
55
+ - @stillwind/native@0.13.0
56
+ - @stillwind/projection@0.13.0
57
+
58
+ ## 0.12.0
59
+
60
+ ### Minor Changes
61
+
62
+ - Added project-scoped `hooks` (`defineHook` and `AnalysisHook` from `stillwind/config` and `@stillwind/config`) for in-memory formatting in `stillwind fmt` and `stillwind check`. Hooks support `setup`, `teardown`, and per-file `format` callbacks so formatters such as Oxfmt run after Stillwind utility sorting in one pass, including `--check`. `stillwind info` now also lists configured hook names.
63
+
64
+ ### Patch Changes
65
+
66
+ - The `stillwind` package now bundles `docs/llms.txt`, a single-file index of all bundled Markdown documentation pages with relative paths and descriptions, and updates `AGENTS_TEMPLATE.md` and `skills/stillwind/SKILL.md` so coding agents can look up design-system tokens, utilities, and generated CSS without broken cross-skill links. The public `style()` overload now appears before the internal checker overload so TypeScript diagnostics report the public signature first. `stillwind inspect` now prints `docs:` lines for findings in text output, matching `stillwind lint`.
67
+
68
+ - Bundled Markdown pages under `node_modules/stillwind/docs/` now include a top-level `## Contents` section on long reference pages for faster section navigation, and a package-manager substitution note on pages whose shell examples use `vp`.
69
+
70
+ - Added `stillwind check` and `stillwind check --fix` to run lint checks and utility sorting in a single analysis pass. `stillwind check` reports lint findings and files that need sorting without saving, and exits with `1` when errors or unsorted files remain. `stillwind check --fix` applies converged automatic fixes and utility sorting, saves changed files, and reports findings for the final sources. `@stillwind/analysis/node` exports the corresponding `check()` function, and `stillwind`'s agent instructions now recommend `stillwind check --fix`.
71
+
72
+ - `stillwind utilities` and `stillwind variants` now accept `--names-only` to list matching names without formatting CSS previews. Pattern searches in `stillwind utilities` now also include placeholder patterns for functional utilities' non-enumerable domains, such as `p-<number>` and `p-[<length-percentage>]` (`kind: "pattern"` in JSON). `stillwind theme` now includes resolved values for tokens that reference other theme variables (`resolvedValue` in JSON, and inline comments in text output).
73
+
74
+ - Diagnostic actions in CLI output now distinguish automatic fixes from manual suggestions (`actions[].autofix`, `summary.autofixable`, and `(autofix)` / `(suggestion)` labels in text output), and the `--fix` hint is shown only when automatic fixes are available. `stillwind inspect` now explains why no previews were returned (`emptyReason`: `no-styles`, `line-out-of-range`, `column-out-of-range`, or `no-match-at-position`). Uncompiled runtime placeholder errors for every `style.*` macro now include guidance on build integration ordering and `docs/integrations.md`.
75
+
76
+ - Make CLI and build output easier to read. `stillwind --help` now highlights headings and options, lists `--format files` only for `stillwind fmt`, and suggests valid commands and `--help` for an unknown command or option. Text output colors file paths, codes, `note:`, `help:`, and `docs:` labels, shows `[project N]` only when results come from several projects, and gives `stillwind inspect` diagnostics the same colors and docs links. Compiler and lint messages no longer show internal byte offsets or debug values, name the conflicting framework and source format for `SW02001`, show the rejected prefix for `SW01001`, and use consistent punctuation and backticks. Unterminated blocks, nesting overflows, and syntax errors in CSS now point at the failing character instead of the whole stylesheet. When the failing CSS has no document URI, such as CSS that a plugin generates, the error message names that source and the byte offset. Vite reports compile errors in the error overlay with a clickable location and a code frame, and build warnings use the `stillwind: <rule>: <message> (<path>:<line>:<column>)` form.
77
+
78
+ - Updated dependencies:
79
+ - @stillwind/config@0.12.0
80
+ - @stillwind/native@0.12.0
81
+ - @stillwind/projection@0.12.0
82
+
3
83
  ## 0.11.0
4
84
 
5
85
  ### Patch Changes
package/README.md CHANGED
@@ -10,8 +10,8 @@ Alpine, Astro, Lit, Preact, Qwik, React, Solid, Svelte, Vue, and vanilla JavaScr
10
10
  ## Install
11
11
 
12
12
  ```sh
13
- vp i stillwind
14
- vp i -D @stillwind/integration
13
+ npm install stillwind
14
+ npm install -D @stillwind/integration
15
15
  ```
16
16
 
17
17
  ## Configure a project
@@ -160,7 +160,7 @@ Use `stillwind/config` for project settings and lint presets. `stillwind/css`
160
160
  provides helpers for explicit stylesheet placement, and `stillwind/module-css`
161
161
  exposes the compiled CSS of a producer module.
162
162
 
163
- - [Macro reference](https://stillwind.dev/docs/macros): refs, conditions, CVA, keyframes, and composition.
163
+ - [Macro reference](https://stillwind.dev/docs/macros): refs, conditions, recipes, keyframes, and composition.
164
164
  - [Configuration](https://stillwind.dev/docs/configuration): scopes, lint rules, sorting, and namespaces.
165
165
  - [CSS ordering](https://stillwind.dev/docs/concepts/css-ordering): precedence when styles are composed.
166
166
  - [CSS delivery](https://github.com/SegaraRai/stillwind/blob/main/docs/css-emission.md): SSR, explicit CSS values, and Shadow DOM.
@@ -313,23 +313,23 @@
313
313
 
314
314
  @stillwind-arbitrary-property border-color;
315
315
 
316
- @stillwind-utility border-* {
316
+ @stillwind-utility border-* (exclusive) {
317
317
  border-color: --compat-color(
318
318
  --value(--color-*, current, inherit, transparent, [color]),
319
319
  --alpha(--modifier())
320
320
  );
321
321
  }
322
322
 
323
- @stillwind-utility border-* {
323
+ @stillwind-utility border-* (exclusive) {
324
324
  border-color: --value(--color-*, current, inherit, transparent);
325
325
  }
326
326
 
327
- @stillwind-utility border-* {
327
+ @stillwind-utility border-* (exclusive) {
328
328
  border-style: var(--tw-border-style);
329
329
  border-width: calc(--value(integer) * 1px);
330
330
  }
331
331
 
332
- @stillwind-utility border-* {
332
+ @stillwind-utility border-* (exclusive) {
333
333
  border-style: var(--tw-border-style);
334
334
  border-width: --value([line-width]);
335
335
  }
@@ -344,23 +344,23 @@
344
344
 
345
345
  @stillwind-arbitrary-property border-inline-color;
346
346
 
347
- @stillwind-utility border-x-* {
347
+ @stillwind-utility border-x-* (exclusive) {
348
348
  border-inline-color: --value(--color-*, current, inherit, transparent, [color]);
349
349
  }
350
350
 
351
- @stillwind-utility border-x-* {
351
+ @stillwind-utility border-x-* (exclusive) {
352
352
  border-inline-color: --compat-color(
353
353
  --value(--color-*, current, inherit, transparent, [color]),
354
354
  --alpha(--modifier())
355
355
  );
356
356
  }
357
357
 
358
- @stillwind-utility border-x-* {
358
+ @stillwind-utility border-x-* (exclusive) {
359
359
  border-inline-style: var(--tw-border-style);
360
360
  border-inline-width: calc(--value(integer) * 1px);
361
361
  }
362
362
 
363
- @stillwind-utility border-x-* {
363
+ @stillwind-utility border-x-* (exclusive) {
364
364
  border-inline-style: var(--tw-border-style);
365
365
  border-inline-width: --value([line-width]);
366
366
  }
@@ -375,23 +375,23 @@
375
375
 
376
376
  @stillwind-arbitrary-property border-block-color;
377
377
 
378
- @stillwind-utility border-y-* {
378
+ @stillwind-utility border-y-* (exclusive) {
379
379
  border-block-color: --value(--color-*, current, inherit, transparent, [color]);
380
380
  }
381
381
 
382
- @stillwind-utility border-y-* {
382
+ @stillwind-utility border-y-* (exclusive) {
383
383
  border-block-color: --compat-color(
384
384
  --value(--color-*, current, inherit, transparent, [color]),
385
385
  --alpha(--modifier())
386
386
  );
387
387
  }
388
388
 
389
- @stillwind-utility border-y-* {
389
+ @stillwind-utility border-y-* (exclusive) {
390
390
  border-block-style: var(--tw-border-style);
391
391
  border-block-width: calc(--value(integer) * 1px);
392
392
  }
393
393
 
394
- @stillwind-utility border-y-* {
394
+ @stillwind-utility border-y-* (exclusive) {
395
395
  border-block-style: var(--tw-border-style);
396
396
  border-block-width: --value([line-width]);
397
397
  }
@@ -406,23 +406,23 @@
406
406
 
407
407
  @stillwind-arbitrary-property border-inline-start-color;
408
408
 
409
- @stillwind-utility border-s-* {
409
+ @stillwind-utility border-s-* (exclusive) {
410
410
  border-inline-start-color: --value(--color-*, current, inherit, transparent, [color]);
411
411
  }
412
412
 
413
- @stillwind-utility border-s-* {
413
+ @stillwind-utility border-s-* (exclusive) {
414
414
  border-inline-start-color: --compat-color(
415
415
  --value(--color-*, current, inherit, transparent, [color]),
416
416
  --alpha(--modifier())
417
417
  );
418
418
  }
419
419
 
420
- @stillwind-utility border-s-* {
420
+ @stillwind-utility border-s-* (exclusive) {
421
421
  border-inline-start-style: var(--tw-border-style);
422
422
  border-inline-start-width: calc(--value(integer) * 1px);
423
423
  }
424
424
 
425
- @stillwind-utility border-s-* {
425
+ @stillwind-utility border-s-* (exclusive) {
426
426
  border-inline-start-style: var(--tw-border-style);
427
427
  border-inline-start-width: --value([line-width]);
428
428
  }
@@ -437,23 +437,23 @@
437
437
 
438
438
  @stillwind-arbitrary-property border-inline-end-color;
439
439
 
440
- @stillwind-utility border-e-* {
440
+ @stillwind-utility border-e-* (exclusive) {
441
441
  border-inline-end-color: --value(--color-*, current, inherit, transparent, [color]);
442
442
  }
443
443
 
444
- @stillwind-utility border-e-* {
444
+ @stillwind-utility border-e-* (exclusive) {
445
445
  border-inline-end-color: --compat-color(
446
446
  --value(--color-*, current, inherit, transparent, [color]),
447
447
  --alpha(--modifier())
448
448
  );
449
449
  }
450
450
 
451
- @stillwind-utility border-e-* {
451
+ @stillwind-utility border-e-* (exclusive) {
452
452
  border-inline-end-style: var(--tw-border-style);
453
453
  border-inline-end-width: calc(--value(integer) * 1px);
454
454
  }
455
455
 
456
- @stillwind-utility border-e-* {
456
+ @stillwind-utility border-e-* (exclusive) {
457
457
  border-inline-end-style: var(--tw-border-style);
458
458
  border-inline-end-width: --value([line-width]);
459
459
  }
@@ -468,23 +468,23 @@
468
468
 
469
469
  @stillwind-arbitrary-property border-block-start-color;
470
470
 
471
- @stillwind-utility border-bs-* {
471
+ @stillwind-utility border-bs-* (exclusive) {
472
472
  border-block-start-color: --value(--color-*, current, inherit, transparent, [color]);
473
473
  }
474
474
 
475
- @stillwind-utility border-bs-* {
475
+ @stillwind-utility border-bs-* (exclusive) {
476
476
  border-block-start-color: --compat-color(
477
477
  --value(--color-*, current, inherit, transparent, [color]),
478
478
  --alpha(--modifier())
479
479
  );
480
480
  }
481
481
 
482
- @stillwind-utility border-bs-* {
482
+ @stillwind-utility border-bs-* (exclusive) {
483
483
  border-block-start-style: var(--tw-border-style);
484
484
  border-block-start-width: calc(--value(integer) * 1px);
485
485
  }
486
486
 
487
- @stillwind-utility border-bs-* {
487
+ @stillwind-utility border-bs-* (exclusive) {
488
488
  border-block-start-style: var(--tw-border-style);
489
489
  border-block-start-width: --value([line-width]);
490
490
  }
@@ -499,23 +499,23 @@
499
499
 
500
500
  @stillwind-arbitrary-property border-block-end-color;
501
501
 
502
- @stillwind-utility border-be-* {
502
+ @stillwind-utility border-be-* (exclusive) {
503
503
  border-block-end-color: --value(--color-*, current, inherit, transparent, [color]);
504
504
  }
505
505
 
506
- @stillwind-utility border-be-* {
506
+ @stillwind-utility border-be-* (exclusive) {
507
507
  border-block-end-color: --compat-color(
508
508
  --value(--color-*, current, inherit, transparent, [color]),
509
509
  --alpha(--modifier())
510
510
  );
511
511
  }
512
512
 
513
- @stillwind-utility border-be-* {
513
+ @stillwind-utility border-be-* (exclusive) {
514
514
  border-block-end-style: var(--tw-border-style);
515
515
  border-block-end-width: calc(--value(integer) * 1px);
516
516
  }
517
517
 
518
- @stillwind-utility border-be-* {
518
+ @stillwind-utility border-be-* (exclusive) {
519
519
  border-block-end-style: var(--tw-border-style);
520
520
  border-block-end-width: --value([line-width]);
521
521
  }
@@ -530,23 +530,23 @@
530
530
 
531
531
  @stillwind-arbitrary-property border-top-color;
532
532
 
533
- @stillwind-utility border-t-* {
533
+ @stillwind-utility border-t-* (exclusive) {
534
534
  border-top-color: --value(--color-*, current, inherit, transparent, [color]);
535
535
  }
536
536
 
537
- @stillwind-utility border-t-* {
537
+ @stillwind-utility border-t-* (exclusive) {
538
538
  border-top-color: --compat-color(
539
539
  --value(--color-*, current, inherit, transparent, [color]),
540
540
  --alpha(--modifier())
541
541
  );
542
542
  }
543
543
 
544
- @stillwind-utility border-t-* {
544
+ @stillwind-utility border-t-* (exclusive) {
545
545
  border-top-style: var(--tw-border-style);
546
546
  border-top-width: calc(--value(integer) * 1px);
547
547
  }
548
548
 
549
- @stillwind-utility border-t-* {
549
+ @stillwind-utility border-t-* (exclusive) {
550
550
  border-top-style: var(--tw-border-style);
551
551
  border-top-width: --value([line-width]);
552
552
  }
@@ -561,23 +561,23 @@
561
561
 
562
562
  @stillwind-arbitrary-property border-right-color;
563
563
 
564
- @stillwind-utility border-r-* {
564
+ @stillwind-utility border-r-* (exclusive) {
565
565
  border-right-color: --value(--color-*, current, inherit, transparent, [color]);
566
566
  }
567
567
 
568
- @stillwind-utility border-r-* {
568
+ @stillwind-utility border-r-* (exclusive) {
569
569
  border-right-color: --compat-color(
570
570
  --value(--color-*, current, inherit, transparent, [color]),
571
571
  --alpha(--modifier())
572
572
  );
573
573
  }
574
574
 
575
- @stillwind-utility border-r-* {
575
+ @stillwind-utility border-r-* (exclusive) {
576
576
  border-right-style: var(--tw-border-style);
577
577
  border-right-width: calc(--value(integer) * 1px);
578
578
  }
579
579
 
580
- @stillwind-utility border-r-* {
580
+ @stillwind-utility border-r-* (exclusive) {
581
581
  border-right-style: var(--tw-border-style);
582
582
  border-right-width: --value([line-width]);
583
583
  }
@@ -592,23 +592,23 @@
592
592
 
593
593
  @stillwind-arbitrary-property border-bottom-color;
594
594
 
595
- @stillwind-utility border-b-* {
595
+ @stillwind-utility border-b-* (exclusive) {
596
596
  border-bottom-color: --value(--color-*, current, inherit, transparent, [color]);
597
597
  }
598
598
 
599
- @stillwind-utility border-b-* {
599
+ @stillwind-utility border-b-* (exclusive) {
600
600
  border-bottom-color: --compat-color(
601
601
  --value(--color-*, current, inherit, transparent, [color]),
602
602
  --alpha(--modifier())
603
603
  );
604
604
  }
605
605
 
606
- @stillwind-utility border-b-* {
606
+ @stillwind-utility border-b-* (exclusive) {
607
607
  border-bottom-style: var(--tw-border-style);
608
608
  border-bottom-width: calc(--value(integer) * 1px);
609
609
  }
610
610
 
611
- @stillwind-utility border-b-* {
611
+ @stillwind-utility border-b-* (exclusive) {
612
612
  border-bottom-style: var(--tw-border-style);
613
613
  border-bottom-width: --value([line-width]);
614
614
  }
@@ -623,23 +623,23 @@
623
623
 
624
624
  @stillwind-arbitrary-property border-left-color;
625
625
 
626
- @stillwind-utility border-l-* {
626
+ @stillwind-utility border-l-* (exclusive) {
627
627
  border-left-color: --value(--color-*, current, inherit, transparent, [color]);
628
628
  }
629
629
 
630
- @stillwind-utility border-l-* {
630
+ @stillwind-utility border-l-* (exclusive) {
631
631
  border-left-color: --compat-color(
632
632
  --value(--color-*, current, inherit, transparent, [color]),
633
633
  --alpha(--modifier())
634
634
  );
635
635
  }
636
636
 
637
- @stillwind-utility border-l-* {
637
+ @stillwind-utility border-l-* (exclusive) {
638
638
  border-left-style: var(--tw-border-style);
639
639
  border-left-width: calc(--value(integer) * 1px);
640
640
  }
641
641
 
642
- @stillwind-utility border-l-* {
642
+ @stillwind-utility border-l-* (exclusive) {
643
643
  border-left-style: var(--tw-border-style);
644
644
  border-left-width: --value([line-width]);
645
645
  }
@@ -862,7 +862,20 @@
862
862
  outline-width: 0;
863
863
  }
864
864
 
865
- @stillwind-utility outline-* {
865
+ @stillwind-arbitrary-property outline-color;
866
+
867
+ @stillwind-utility outline-* (exclusive) {
868
+ outline-color: --compat-color(
869
+ --value(--color-*, current, inherit, transparent, [color]),
870
+ --alpha(--modifier())
871
+ );
872
+ }
873
+
874
+ @stillwind-utility outline-* (exclusive) {
875
+ outline-color: --value(--color-*, current, inherit, transparent);
876
+ }
877
+
878
+ @stillwind-utility outline-* (exclusive) {
866
879
  outline-style: var(--tw-outline-style);
867
880
  outline-width: calc(--value(integer) * 1px);
868
881
  }
@@ -893,25 +906,12 @@
893
906
  outline-offset: calc(--value(integer) * 1px * -1);
894
907
  }
895
908
 
896
- @stillwind-arbitrary-property outline-color;
897
-
898
- @stillwind-utility outline-* {
899
- outline-color: --compat-color(
900
- --value(--color-*, current, inherit, transparent, [color]),
901
- --alpha(--modifier())
902
- );
903
- }
904
-
905
- @stillwind-utility outline-* {
906
- outline-color: --value(--color-*, current, inherit, transparent);
907
- }
908
-
909
909
  /*
910
910
  An untyped variable selects the earliest registered branch that accepts it. Keep this
911
911
  width branch after the outline color branches so `outline-(--x)` sets the color, as in
912
912
  Tailwind.
913
913
  */
914
- @stillwind-utility outline-* {
914
+ @stillwind-utility outline-* (exclusive) {
915
915
  outline-style: var(--tw-outline-style);
916
916
  outline-width: --value([line-width]);
917
917
  }