stillwind 0.8.0 → 0.10.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 (175) hide show
  1. package/CHANGELOG.md +212 -0
  2. package/css/builtin-variants/tw-relationship.css +4 -4
  3. package/css/builtins.css +1 -1
  4. package/dist/frameworks/alpine.d.ts +1 -1
  5. package/dist/frameworks/astro.d.ts +1 -1
  6. package/dist/frameworks/lit.d.ts +1 -1
  7. package/dist/frameworks/preact.d.ts +1 -1
  8. package/dist/frameworks/qwik.d.ts +1 -1
  9. package/dist/frameworks/solid.d.ts +1 -1
  10. package/dist/frameworks/svelte.d.ts +1 -1
  11. package/dist/frameworks/vanilla.d.ts +1 -1
  12. package/dist/frameworks/vue.d.ts +1 -1
  13. package/docs/at-rules/apply.md +5 -5
  14. package/docs/at-rules/custom-variant.md +12 -12
  15. package/docs/at-rules/index.md +19 -19
  16. package/docs/at-rules/plugin.md +13 -7
  17. package/docs/at-rules/registry-directives.md +9 -9
  18. package/docs/at-rules/slot.md +6 -6
  19. package/docs/at-rules/stillwind-css-template.md +7 -7
  20. package/docs/at-rules/stillwind-property.md +10 -10
  21. package/docs/at-rules/stillwind-registry.md +18 -18
  22. package/docs/at-rules/stillwind-require-properties.md +9 -9
  23. package/docs/at-rules/stillwind-slot.md +6 -6
  24. package/docs/at-rules/stillwind-undef-arbitrary-property.md +9 -9
  25. package/docs/at-rules/stillwind-undef-utility.md +10 -10
  26. package/docs/at-rules/stillwind-undef-variant.md +6 -6
  27. package/docs/at-rules/theme.md +23 -23
  28. package/docs/at-rules/utility.md +30 -30
  29. package/docs/at-rules/variant.md +6 -6
  30. package/docs/cli.md +7 -7
  31. package/docs/concepts/css-ordering.md +17 -17
  32. package/docs/concepts/how-styles-compile.md +14 -14
  33. package/docs/concepts/stylesheets.md +4 -4
  34. package/docs/configuration.md +29 -29
  35. package/docs/editors.md +8 -8
  36. package/docs/errors/SW01003.md +1 -1
  37. package/docs/errors/SW10001.md +1 -1
  38. package/docs/errors/SW10002.md +1 -1
  39. package/docs/errors/SW10004.md +6 -6
  40. package/docs/errors/SW10005.md +1 -1
  41. package/docs/errors/SW11001.md +1 -1
  42. package/docs/errors/SW11003.md +1 -1
  43. package/docs/errors/SW12001.md +2 -2
  44. package/docs/errors/SW12002.md +1 -1
  45. package/docs/errors/SW13001.md +1 -1
  46. package/docs/errors/SW13003.md +2 -2
  47. package/docs/errors/SW14001.md +1 -1
  48. package/docs/errors/SW14003.md +4 -4
  49. package/docs/errors/SW14004.md +2 -2
  50. package/docs/errors/SW14005.md +1 -1
  51. package/docs/errors/SW14006.md +1 -1
  52. package/docs/errors/SW14007.md +2 -2
  53. package/docs/errors/SW14008.md +1 -1
  54. package/docs/errors/SW30001.md +1 -1
  55. package/docs/errors/SW31001.md +1 -1
  56. package/docs/errors/SW31004.md +1 -1
  57. package/docs/errors/SW33005.md +1 -1
  58. package/docs/errors/SW34002.md +1 -1
  59. package/docs/errors/SW90001.md +1 -1
  60. package/docs/errors/SW90005.md +1 -1
  61. package/docs/errors/SW90006.md +1 -1
  62. package/docs/errors/index.md +72 -72
  63. package/docs/formatters.md +5 -5
  64. package/docs/guides/animations.md +7 -8
  65. package/docs/guides/design-systems.md +7 -7
  66. package/docs/guides/element-relationships.md +15 -19
  67. package/docs/guides/lint-adoption.md +5 -5
  68. package/docs/guides/migrating-from-css.md +11 -11
  69. package/docs/guides/migrating-from-tailwind.md +21 -16
  70. package/docs/guides/recommended-practices.md +18 -18
  71. package/docs/guides/responsive-styles.md +7 -7
  72. package/docs/guides/reusable-styles.md +5 -5
  73. package/docs/guides/runtime-conditions.md +6 -6
  74. package/docs/guides/style.md +15 -15
  75. package/docs/guides/tailwind-compatibility.md +27 -21
  76. package/docs/guides/view-transitions.md +9 -11
  77. package/docs/guides/web-components.md +4 -4
  78. package/docs/index.md +14 -12
  79. package/docs/integrations.md +3 -3
  80. package/docs/lints/ambiguous-style-base-order.md +2 -2
  81. package/docs/lints/bypassed-undefinition.md +3 -3
  82. package/docs/lints/clamped-value.md +1 -1
  83. package/docs/lints/conflicting-provider-properties.md +2 -2
  84. package/docs/lints/conflicting-utilities.md +67 -2
  85. package/docs/lints/document-scoped-selector.md +1 -1
  86. package/docs/lints/duplicate-definition.md +3 -3
  87. package/docs/lints/duplicate-utility.md +2 -2
  88. package/docs/lints/duplicate-view-transition-name.md +3 -3
  89. package/docs/lints/ignored-definition-condition.md +2 -2
  90. package/docs/lints/ignored-tailwind-feature.md +3 -3
  91. package/docs/lints/implicit-nesting-selector.md +2 -2
  92. package/docs/lints/incompatible-property-value.md +3 -3
  93. package/docs/lints/incompatible-theme-value.md +1 -1
  94. package/docs/lints/index.md +74 -74
  95. package/docs/lints/ineffective-anchor-scope.md +2 -2
  96. package/docs/lints/interfering-imported-style-base.md +1 -1
  97. package/docs/lints/invalid-animation-option.md +3 -3
  98. package/docs/lints/invalid-css-directive.md +3 -3
  99. package/docs/lints/invalid-css-import.md +2 -2
  100. package/docs/lints/invalid-css-input.md +4 -4
  101. package/docs/lints/invalid-cva-config.md +2 -2
  102. package/docs/lints/invalid-cva-input.md +4 -4
  103. package/docs/lints/invalid-keyframes-definition.md +2 -2
  104. package/docs/lints/invalid-keyframes-use.md +2 -2
  105. package/docs/lints/invalid-keyframes-variant.md +4 -4
  106. package/docs/lints/invalid-lint-suppression.md +3 -3
  107. package/docs/lints/invalid-marker-use.md +2 -2
  108. package/docs/lints/invalid-media-query.md +4 -4
  109. package/docs/lints/invalid-ref-input.md +4 -4
  110. package/docs/lints/invalid-rule-group-input.md +2 -2
  111. package/docs/lints/invalid-runtime-condition.md +3 -3
  112. package/docs/lints/invalid-stored-variant.md +3 -3
  113. package/docs/lints/invalid-style-composition.md +2 -2
  114. package/docs/lints/invalid-style-input.md +2 -2
  115. package/docs/lints/invalid-theme-reference.md +3 -3
  116. package/docs/lints/invalid-utility.md +3 -3
  117. package/docs/lints/invalid-variant.md +2 -2
  118. package/docs/lints/invalid-view-transition-definition.md +2 -2
  119. package/docs/lints/invalid-view-transition-use.md +2 -2
  120. package/docs/lints/invalid-view-transition-variant.md +3 -3
  121. package/docs/lints/mismatched-framework-import.md +3 -3
  122. package/docs/lints/missing-document-target.md +2 -2
  123. package/docs/lints/missing-ref-attachment.md +4 -4
  124. package/docs/lints/missing-view-transition-name.md +3 -3
  125. package/docs/lints/mutating-macro-argument.md +2 -2
  126. package/docs/lints/no-arbitrary-breakpoints.md +2 -2
  127. package/docs/lints/no-arbitrary-colors.md +2 -2
  128. package/docs/lints/no-arbitrary-spacing.md +1 -1
  129. package/docs/lints/no-class-property.md +3 -3
  130. package/docs/lints/no-important.md +2 -2
  131. package/docs/lints/no-restricted-declarations.md +1 -1
  132. package/docs/lints/no-restricted-length-units.md +1 -1
  133. package/docs/lints/no-restricted-theme-tokens.md +1 -1
  134. package/docs/lints/no-restricted-utilities.md +2 -2
  135. package/docs/lints/prefer-canonical-utilities.md +2 -2
  136. package/docs/lints/prefer-direct-styling.md +3 -3
  137. package/docs/lints/prefer-logical-properties.md +22 -5
  138. package/docs/lints/prefer-sorted-utilities.md +2 -2
  139. package/docs/lints/prefer-typed-relationships.md +3 -3
  140. package/docs/lints/prefer-typed-variables.md +1 -1
  141. package/docs/lints/prefer-variant-directive.md +3 -3
  142. package/docs/lints/redundant-variant.md +2 -2
  143. package/docs/lints/repeated-nesting-selector.md +2 -2
  144. package/docs/lints/runtime-condition-requires-css-if.md +3 -3
  145. package/docs/lints/split-view-transition-class.md +3 -3
  146. package/docs/lints/suspending-macro-argument.md +2 -2
  147. package/docs/lints/unknown-utility.md +4 -4
  148. package/docs/lints/unknown-variant.md +2 -2
  149. package/docs/lints/unmatched-host-selector.md +2 -2
  150. package/docs/lints/unsatisfiable-variants.md +1 -1
  151. package/docs/lints/unused-lint-suppression.md +1 -1
  152. package/docs/lints/unverified-style-base.md +2 -2
  153. package/docs/macros/anchor-scope.md +13 -13
  154. package/docs/macros/css.md +7 -7
  155. package/docs/macros/cva.md +13 -13
  156. package/docs/macros/index.md +10 -10
  157. package/docs/macros/keyframes.md +9 -9
  158. package/docs/macros/media.md +2 -2
  159. package/docs/macros/ref/as-anchor.md +11 -11
  160. package/docs/macros/ref/as-container.md +8 -8
  161. package/docs/macros/ref/at.md +10 -10
  162. package/docs/macros/ref/condition.md +8 -8
  163. package/docs/macros/ref/in.md +11 -11
  164. package/docs/macros/ref/index.md +16 -16
  165. package/docs/macros/ref/position-anchor.md +9 -9
  166. package/docs/macros/style.md +24 -24
  167. package/docs/macros/view-transition.md +16 -16
  168. package/docs/macros/when.md +13 -13
  169. package/docs/plugins/iconify.md +5 -5
  170. package/docs/plugins/index.md +4 -4
  171. package/docs/utilities-and-variants.md +6 -6
  172. package/docs/why.md +13 -15
  173. package/package.json +8 -6
  174. package/skills/migrate-to-stillwind/SKILL.md +36 -2
  175. package/skills/stillwind/SKILL.md +4 -0
@@ -38,14 +38,14 @@ export const card = style("rounded-card bg-brand");
38
38
  ### Compiled code
39
39
 
40
40
  ```ts
41
- export const card = {className:"sw_j7rat"};
41
+ export const card = {className:"sw_4rosj"};
42
42
  ```
43
43
 
44
44
  ### Generated stylesheet without preflight
45
45
 
46
46
  ```css
47
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
48
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
47
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
48
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
49
49
  @layer properties, theme, base, components, utilities;
50
50
 
51
51
  @layer theme {
@@ -56,7 +56,7 @@ export const card = {className:"sw_j7rat"};
56
56
  }
57
57
 
58
58
  @layer utilities {
59
- .sw_j7rat {
59
+ .sw_4rosj {
60
60
  background-color: var(--color-brand);
61
61
  border-radius: var(--radius-card);
62
62
  }
@@ -104,14 +104,14 @@ export const label = style("bg-brand text-brand-muted");
104
104
  ### Compiled code
105
105
 
106
106
  ```ts
107
- export const label = {className:"sw_4zrwj"};
107
+ export const label = {className:"sw_cum60"};
108
108
  ```
109
109
 
110
110
  ### Generated stylesheet without preflight
111
111
 
112
112
  ```css
113
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
114
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
113
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
114
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
115
115
  @layer properties, theme, base, components, utilities;
116
116
 
117
117
  @layer theme {
@@ -122,7 +122,7 @@ export const label = {className:"sw_4zrwj"};
122
122
  }
123
123
 
124
124
  @layer utilities {
125
- .sw_4zrwj {
125
+ .sw_cum60 {
126
126
  color: var(--color-brand-muted);
127
127
  background-color: var(--color-brand);
128
128
  }
@@ -157,14 +157,14 @@ export const title = style("font-display");
157
157
  ### Compiled code
158
158
 
159
159
  ```ts
160
- export const title = {className:"sw_mjcfr"};
160
+ export const title = {className:"sw_suzvk"};
161
161
  ```
162
162
 
163
163
  ### Generated stylesheet without preflight
164
164
 
165
165
  ```css
166
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
167
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
166
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
167
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
168
168
  @layer properties, theme, base, components, utilities;
169
169
 
170
170
  @layer theme {
@@ -174,7 +174,7 @@ export const title = {className:"sw_mjcfr"};
174
174
  }
175
175
 
176
176
  @layer utilities {
177
- .sw_mjcfr {
177
+ .sw_suzvk {
178
178
  font-family: Inter Display, sans-serif;
179
179
  }
180
180
  }
@@ -210,14 +210,14 @@ export const done = style("checkmark");
210
210
  ### Compiled code
211
211
 
212
212
  ```ts
213
- export const done = {className:"sw_j94hj"};
213
+ export const done = {className:"sw_wpj78"};
214
214
  ```
215
215
 
216
216
  ### Generated stylesheet without preflight
217
217
 
218
218
  ```css
219
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
220
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
219
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
220
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
221
221
  @layer properties, theme, base, components, utilities;
222
222
 
223
223
  @layer theme {
@@ -227,7 +227,7 @@ export const done = {className:"sw_j94hj"};
227
227
  }
228
228
 
229
229
  @layer utilities {
230
- .sw_j94hj {
230
+ .sw_wpj78 {
231
231
  mask-image: var(--image-check);
232
232
  }
233
233
  }
@@ -263,14 +263,14 @@ export const page = style("bg-paper text-ink");
263
263
  ### Compiled code
264
264
 
265
265
  ```ts
266
- export const page = {className:"sw_rjnyv"};
266
+ export const page = {className:"sw_6kn82"};
267
267
  ```
268
268
 
269
269
  ### Generated stylesheet without preflight
270
270
 
271
271
  ```css
272
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
273
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
272
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
273
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
274
274
  @layer properties, theme, base, components, utilities;
275
275
 
276
276
  @layer theme {
@@ -281,7 +281,7 @@ export const page = {className:"sw_rjnyv"};
281
281
  }
282
282
 
283
283
  @layer utilities {
284
- .sw_rjnyv {
284
+ .sw_6kn82 {
285
285
  color: var(--color-ink);
286
286
  background-color: var(--color-paper);
287
287
  }
@@ -296,9 +296,9 @@ assets, and `@theme asset { --*: initial; }` keeps design tokens.
296
296
  ## Placement
297
297
 
298
298
  The `theme` slot places the declarations. `@import "stillwind"` puts it on
299
- `:root, :host`. See [`@stillwind-slot`](stillwind-slot.md).
299
+ `:root, :host`. See [`@stillwind-slot`](https://stillwind.dev/docs/at-rules/stillwind-slot).
300
300
 
301
- [incompatible-theme-value](../lints/incompatible-theme-value.md) reports a token
301
+ [incompatible-theme-value](https://stillwind.dev/docs/lints/incompatible-theme-value) reports a token
302
302
  with a value of the wrong type for its namespace, such as a length in
303
- `--color-*`. [Design systems](../guides/design-systems.md) shows how to name
303
+ `--color-*`. [Design systems](https://stillwind.dev/docs/guides/design-systems) shows how to name
304
304
  tokens by role and report values outside them.
@@ -11,8 +11,8 @@ description: "Define a utility, or add declarations to a built-in utility with t
11
11
  @utility name (implementation) { ... }
12
12
  ```
13
13
 
14
- `@utility` defines a utility for [`style()`](../macros/style.md),
15
- [`@apply`](apply.md), and the other places that accept utilities.
14
+ `@utility` defines a utility for [`style()`](https://stillwind.dev/docs/macros/style),
15
+ [`@apply`](https://stillwind.dev/docs/at-rules/apply), and the other places that accept utilities.
16
16
  Write it at the top level of the stylesheet.
17
17
 
18
18
  ## Static and functional utilities
@@ -45,14 +45,14 @@ export const list = style("content-auto stack-3");
45
45
  ### Compiled code
46
46
 
47
47
  ```ts
48
- export const list = {className:"sw_70m3s"};
48
+ export const list = {className:"sw_l0qhr"};
49
49
  ```
50
50
 
51
51
  ### Generated stylesheet without preflight
52
52
 
53
53
  ```css
54
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
55
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
54
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
55
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
56
56
  @layer properties, theme, base, components, utilities;
57
57
 
58
58
  @layer theme {
@@ -62,7 +62,7 @@ export const list = {className:"sw_70m3s"};
62
62
  }
63
63
 
64
64
  @layer utilities {
65
- .sw_70m3s {
65
+ .sw_l0qhr {
66
66
  content-visibility: auto;
67
67
  display: flex;
68
68
  flex-direction: column;
@@ -110,14 +110,14 @@ export const code = style("tab-width-wide text-fluid-lg/tight");
110
110
  ### Compiled code
111
111
 
112
112
  ```ts
113
- export const code = {className:"sw_9jkuo"};
113
+ export const code = {className:"sw_vqs03"};
114
114
  ```
115
115
 
116
116
  ### Generated stylesheet without preflight
117
117
 
118
118
  ```css
119
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
120
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
119
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
120
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
121
121
  @layer properties, theme, base, components, utilities;
122
122
 
123
123
  @layer theme {
@@ -129,7 +129,7 @@ export const code = {className:"sw_9jkuo"};
129
129
  }
130
130
 
131
131
  @layer utilities {
132
- .sw_9jkuo {
132
+ .sw_vqs03 {
133
133
  tab-size: var(--tab-size-wide);
134
134
  font-size: var(--text-lg);
135
135
  line-height: var(--leading-tight);
@@ -139,7 +139,7 @@ export const code = {className:"sw_9jkuo"};
139
139
 
140
140
  A declaration whose `--value()` matches no form is left out. A candidate that
141
141
  matches no declaration produces no CSS, and
142
- [unknown-utility](../lints/unknown-utility.md) reports it.
142
+ [unknown-utility](https://stillwind.dev/docs/lints/unknown-utility) reports it.
143
143
 
144
144
  ## Definitions with the same name
145
145
 
@@ -166,18 +166,18 @@ export const page = style("container");
166
166
  ### Compiled code
167
167
 
168
168
  ```ts
169
- export const page = {className:"sw_5yksj"};
169
+ export const page = {className:"sw_z5acf"};
170
170
  ```
171
171
 
172
172
  ### Generated stylesheet without preflight
173
173
 
174
174
  ```css
175
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
176
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
175
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
176
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
177
177
  @layer properties, theme, base, components, utilities;
178
178
 
179
179
  @layer utilities {
180
- .sw_5yksj {
180
+ .sw_z5acf {
181
181
  width: 100%;
182
182
  padding-inline: 1rem;
183
183
 
@@ -207,12 +207,12 @@ export const page = {className:"sw_5yksj"};
207
207
  A static definition replaces a functional one for its exact name:
208
208
  `@utility shadow-lg { ... }` replaces the built-in `shadow-*` for `shadow-lg`
209
209
  only. To remove built-in definitions, use
210
- [`@stillwind-undef-utility`](stillwind-undef-utility.md).
210
+ [`@stillwind-undef-utility`](https://stillwind.dev/docs/at-rules/stillwind-undef-utility).
211
211
 
212
212
  ## Body
213
213
 
214
- A body can contain nested rules, [`@apply`](apply.md),
215
- [`@variant`](variant.md) blocks,
214
+ A body can contain nested rules, [`@apply`](https://stillwind.dev/docs/at-rules/apply),
215
+ [`@variant`](https://stillwind.dev/docs/at-rules/variant) blocks,
216
216
  [`@keyframes`](https://developer.mozilla.org/docs/Web/CSS/Reference/At-rules/@keyframes), and
217
217
  [`@property`](https://developer.mozilla.org/docs/Web/CSS/Reference/At-rules/@property).
218
218
  A nested selector without `&` selects descendants: `[data-icon]` means
@@ -225,8 +225,8 @@ The compiler moves `@keyframes` and `@property` rules of a used utility to the
225
225
  utility adds no such rules.
226
226
 
227
227
  To use a registered custom property, register it with
228
- [`@stillwind-property`](stillwind-property.md) and require it with
229
- [`@stillwind-require-properties`](stillwind-require-properties.md).
228
+ [`@stillwind-property`](https://stillwind.dev/docs/at-rules/stillwind-property) and require it with
229
+ [`@stillwind-require-properties`](https://stillwind.dev/docs/at-rules/stillwind-require-properties).
230
230
 
231
231
  ## The implementation descriptor
232
232
 
@@ -234,12 +234,12 @@ To use a registered custom property, register it with
234
234
  utility's implementation. The `checkImplementation` option of a lint rule decides
235
235
  whether the rule checks them:
236
236
 
237
- - [prefer-logical-properties](../lints/prefer-logical-properties.md) and
238
- [no-restricted-length-units](../lints/no-restricted-length-units.md) skip them
237
+ - [prefer-logical-properties](https://stillwind.dev/docs/lints/prefer-logical-properties) and
238
+ [no-restricted-length-units](https://stillwind.dev/docs/lints/no-restricted-length-units) skip them
239
239
  unless the option is `true`. The `em` values below are skipped.
240
- - [no-important](../lints/no-important.md),
241
- [no-restricted-declarations](../lints/no-restricted-declarations.md), and
242
- [no-restricted-theme-tokens](../lints/no-restricted-theme-tokens.md) check them
240
+ - [no-important](https://stillwind.dev/docs/lints/no-important),
241
+ [no-restricted-declarations](https://stillwind.dev/docs/lints/no-restricted-declarations), and
242
+ [no-restricted-theme-tokens](https://stillwind.dev/docs/lints/no-restricted-theme-tokens) check them
243
243
  unless the option is `false`.
244
244
 
245
245
  ### Stylesheet
@@ -262,18 +262,18 @@ export const icon = style("icon-box");
262
262
  ### Compiled code
263
263
 
264
264
  ```ts
265
- export const icon = {className:"sw_smxmp"};
265
+ export const icon = {className:"sw_xg0pi"};
266
266
  ```
267
267
 
268
268
  ### Generated stylesheet without preflight
269
269
 
270
270
  ```css
271
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
272
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
271
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
272
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
273
273
  @layer properties, theme, base, components, utilities;
274
274
 
275
275
  @layer utilities {
276
- .sw_smxmp {
276
+ .sw_xg0pi {
277
277
  width: 1em;
278
278
  height: 1em;
279
279
  }
@@ -288,5 +288,5 @@ descriptor.
288
288
 
289
289
  A definition inside `@media` or another conditional at-rule keeps its
290
290
  declarations, and the compiler ignores the condition.
291
- [ignored-definition-condition](../lints/ignored-definition-condition.md)
291
+ [ignored-definition-condition](https://stillwind.dev/docs/lints/ignored-definition-condition)
292
292
  reports it. Write the condition inside the body instead, or use a variant.
@@ -14,7 +14,7 @@ selector {
14
14
  ```
15
15
 
16
16
  `@variant` wraps its block in the rules of the listed variants. Write it inside
17
- a style rule or the body of a [`@utility`](utility.md). The variants
17
+ a style rule or the body of a [`@utility`](https://stillwind.dev/docs/at-rules/utility). The variants
18
18
  apply to the element that the enclosing rule selects. Directly in a `@utility`
19
19
  body, that element is the one that uses the utility.
20
20
 
@@ -39,8 +39,8 @@ body, that element is the one that uses the utility.
39
39
  ### Generated stylesheet without preflight
40
40
 
41
41
  ```css
42
- /*! stillwind v0.8.0 | MIT License | https://stillwind.dev */
43
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
42
+ /*! stillwind v0.10.0 | MIT License | https://stillwind.dev */
43
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
44
44
  @layer properties, theme, base, components, utilities;
45
45
 
46
46
  @layer theme {
@@ -83,13 +83,13 @@ body, that element is the one that uses the utility.
83
83
  - Nested blocks expand inside the rules of the enclosing sequences.
84
84
  - A `@variant` statement without a block stays in the output unchanged.
85
85
 
86
- [prefer-variant-directive](../lints/prefer-variant-directive.md) reports an
86
+ [prefer-variant-directive](https://stillwind.dev/docs/lints/prefer-variant-directive) reports an
87
87
  `@media` query that a variant of your theme can replace, such as a breakpoint,
88
88
  in a style rule or a `@utility` body.
89
89
 
90
90
  ## Variant definitions
91
91
 
92
92
  At the top level of the stylesheet, a `@variant` block that contains
93
- [`@slot`](slot.md) defines a variant, for compatibility with older
94
- Tailwind CSS stylesheets. Use [`@custom-variant`](custom-variant.md)
93
+ [`@slot`](https://stillwind.dev/docs/at-rules/slot) defines a variant, for compatibility with older
94
+ Tailwind CSS stylesheets. Use [`@custom-variant`](https://stillwind.dev/docs/at-rules/custom-variant)
95
95
  for new definitions.
package/docs/cli.md CHANGED
@@ -13,7 +13,7 @@ build integration and the editor.
13
13
  vp i -D @stillwind/cli
14
14
  ```
15
15
 
16
- To run the CLI in CI, see [Checks in the editor and CI](guides/lint-adoption.md).
16
+ To run the CLI in CI, see [Checks in the editor and CI](https://stillwind.dev/docs/guides/lint-adoption).
17
17
 
18
18
  ## Commands
19
19
 
@@ -39,12 +39,12 @@ vp exec stillwind fmt --check
39
39
  ```
40
40
 
41
41
  `fmt` sorts utilities with the configured theme and
42
- [`sort` options](configuration.md#sorting), and saves the changed files. It keeps
42
+ [`sort` options](https://stillwind.dev/docs/configuration#sorting), and saves the changed files. It keeps
43
43
  the source layout and the spelling of each token. Lint severity and suppression
44
44
  comments do not affect `fmt`.
45
45
 
46
46
  `fmt` does not change whitespace. To format whitespace too, see
47
- [Formatters](formatters.md).
47
+ [Formatters](https://stillwind.dev/docs/formatters).
48
48
 
49
49
  | Option | Effect |
50
50
  | --------- | ------------------------------------------------------- |
@@ -79,7 +79,7 @@ this website.
79
79
  [globs](#select-files).
80
80
 
81
81
  `--fix` respects suppression comments. It sorts utilities only when
82
- [prefer-sorted-utilities](lints/prefer-sorted-utilities.md) is enabled. It
82
+ [prefer-sorted-utilities](https://stillwind.dev/docs/lints/prefer-sorted-utilities) is enabled. It
83
83
  repeats until the files stop changing, with at most ten changing passes per file.
84
84
  Findings and the exit code describe the files after the last pass.
85
85
 
@@ -96,7 +96,7 @@ vp exec stillwind inspect src/Button.tsx:12:8
96
96
  vp exec stillwind inspect 'src/**/*.tsx' src/App.tsx:30 --format json
97
97
  ```
98
98
 
99
- `inspect` shows the CSS that [`style()`](macros/style.md) calls, keyframes, and
99
+ `inspect` shows the CSS that [`style()`](https://stillwind.dev/docs/macros/style) calls, keyframes, and
100
100
  view transitions generate. The CSS writes the styled element as `&`, and it includes
101
101
  the styles that the call composes. `inspect` saves no files.
102
102
 
@@ -146,7 +146,7 @@ leading `--`, because the CLI reads `--color-*` as an option.
146
146
  | ------------------- | ----------------------------------------------- |
147
147
  | `--source <origin>` | Shows only `project` tokens or `default` tokens |
148
148
 
149
- `project` tokens come from an ordinary [`@theme`](at-rules/theme.md). `default` tokens
149
+ `project` tokens come from an ordinary [`@theme`](https://stillwind.dev/docs/at-rules/theme). `default` tokens
150
150
  come from `@theme default` or from a plugin, and an ordinary `@theme` can override them.
151
151
 
152
152
  Each token shows its value as written, including references to other tokens.
@@ -186,7 +186,7 @@ vp exec stillwind variants 'group-*'
186
186
  vp exec stillwind lsp --stdio
187
187
  ```
188
188
 
189
- `lsp` starts the [language server](editors.md#other-editors) over stdin and
189
+ `lsp` starts the [language server](https://stillwind.dev/docs/editors#other-editors) over stdin and
190
190
  stdout. `--stdio` is required, and stdout carries only protocol messages. `lsp`
191
191
  accepts `--config`, but no globs.
192
192
 
@@ -7,7 +7,7 @@ description: "See how Stillwind orders CSS from different files, calls, conditio
7
7
 
8
8
  This page explains Stillwind's detailed CSS ordering rules for developers debugging
9
9
  style conflicts or defining custom utilities and variants. It assumes you already
10
- use [`style()`](../guides/style.md) and [reusable styles](../guides/reusable-styles.md),
10
+ use [`style()`](https://stillwind.dev/docs/guides/style) and [reusable styles](https://stillwind.dev/docs/guides/reusable-styles),
11
11
  and know how the CSS cascade works.
12
12
 
13
13
  > **Prefer styles that do not depend on order**
@@ -43,7 +43,7 @@ class. It does not move a rule ahead of CSS from an earlier file or call.
43
43
  The default `utilityOrder` setting is `"authored"`. In this mode, utilities from
44
44
  plugins come before utilities defined in the stylesheet. Set `utilityOrder` to
45
45
  `"tailwind"` to use Tailwind's property order instead. See
46
- [Configuration](../configuration.md#generated-css).
46
+ [Configuration](https://stillwind.dev/docs/configuration#generated-css).
47
47
 
48
48
  ### A base's rules come before the new call's rules
49
49
 
@@ -66,23 +66,23 @@ export const danger = style(base, "bg-red-600");
66
66
  import { stillwindClsx, stillwindClassNameObjectClassKey, stillwindClassNameObjectMerge, stillwindClassNameObjectToFragment } from "stillwind/runtime";
67
67
 
68
68
  declare const active: boolean;
69
- const base = {className:stillwindClsx("sw_fnaqw",(active) && ("sw_numny"))};
70
- export const danger = stillwindClassNameObjectMerge({[stillwindClassNameObjectClassKey]:"sw_r65in"},stillwindClassNameObjectToFragment((base)));
69
+ const base = {className:stillwindClsx("sw_higiw",(active) && ("sw_x06dg"))};
70
+ export const danger = stillwindClassNameObjectMerge({[stillwindClassNameObjectClassKey]:"sw_lxhjj"},stillwindClassNameObjectToFragment((base)));
71
71
  ```
72
72
 
73
73
  ### Generated CSS
74
74
 
75
75
 
76
76
  ```css
77
- .sw_fnaqw {
77
+ .sw_higiw {
78
78
  background-color: var(--color-gray-100);
79
79
  }
80
80
 
81
- .sw_numny {
81
+ .sw_x06dg {
82
82
  background-color: var(--color-blue-600);
83
83
  }
84
84
 
85
- .sw_r65in {
85
+ .sw_lxhjj {
86
86
  background-color: var(--color-red-600);
87
87
  }
88
88
  ```
@@ -148,7 +148,7 @@ style("p-2 p-4");
148
148
  style("p-4", "p-2");
149
149
  ```
150
150
 
151
- [conflicting-utilities](../lints/conflicting-utilities.md) reports this
151
+ [conflicting-utilities](https://stillwind.dev/docs/lints/conflicting-utilities) reports this
152
152
  conflict. Remove the unwanted utility instead of rearranging the input.
153
153
 
154
154
  If two base styles set the same property, do not use their argument order to
@@ -161,8 +161,8 @@ const red = style(blue, "bg-red-600");
161
161
  const props = style(red);
162
162
  ```
163
163
 
164
- [ambiguous-style-base-order](../lints/ambiguous-style-base-order.md) and
165
- [interfering-imported-style-base](../lints/interfering-imported-style-base.md)
164
+ [ambiguous-style-base-order](https://stillwind.dev/docs/lints/ambiguous-style-base-order) and
165
+ [interfering-imported-style-base](https://stillwind.dev/docs/lints/interfering-imported-style-base)
166
166
  report calls that combine conflicting bases without saying which is built on
167
167
  which.
168
168
 
@@ -185,25 +185,25 @@ export const danger = style(base, "bg-red-600");
185
185
  ```ts
186
186
  import { stillwindClassNameObjectClassKey, stillwindClassNameObjectMerge, stillwindClassNameObjectToFragment } from "stillwind/runtime";
187
187
 
188
- const base = {className:"sw_221vg"};
189
- export const danger = stillwindClassNameObjectMerge({[stillwindClassNameObjectClassKey]:"sw_crw5t"},stillwindClassNameObjectToFragment((base)));
188
+ const base = {className:"sw_sdez9"};
189
+ export const danger = stillwindClassNameObjectMerge({[stillwindClassNameObjectClassKey]:"sw_lxhjj"},stillwindClassNameObjectToFragment((base)));
190
190
  ```
191
191
 
192
192
  ### Generated CSS
193
193
 
194
194
 
195
195
  ```css
196
- .sw_221vg {
196
+ .sw_sdez9 {
197
197
  background-color: var(--color-blue-600);
198
198
  }
199
199
 
200
200
  @media (hover: hover) {
201
- .sw_221vg:hover {
201
+ .sw_sdez9:hover {
202
202
  background-color: var(--color-blue-800);
203
203
  }
204
204
  }
205
205
 
206
- .sw_crw5t {
206
+ .sw_lxhjj {
207
207
  background-color: var(--color-red-600);
208
208
  }
209
209
  ```
@@ -232,7 +232,7 @@ The browser uses declaration order only when the earlier rules of the
232
232
  [CSS cascade](https://www.w3.org/TR/css-cascade-5/#cascade-sort) leave a tie.
233
233
 
234
234
  To override a shared style, use `style(base, ...)` with the matching variants
235
- instead of adding `!important`. See [no-important](../lints/no-important.md).
235
+ instead of adding `!important`. See [no-important](https://stillwind.dev/docs/lints/no-important).
236
236
 
237
237
  ## Stylesheet placement
238
238
 
@@ -241,5 +241,5 @@ server-rendered pages. A production build may combine or move CSS rules when
241
241
  doing so does not change which declaration wins.
242
242
 
243
243
  If you combine CSS from separate builds, or place the CSS strings returned by
244
- [`style.css()`](../macros/css.md) yourself, you choose which stylesheet comes
244
+ [`style.css()`](https://stillwind.dev/docs/macros/css) yourself, you choose which stylesheet comes
245
245
  first.
@@ -5,7 +5,7 @@ description: "See what Stillwind generates at build time, what JavaScript remain
5
5
 
6
6
  # How styles compile
7
7
 
8
- Stillwind compiles [`style()`](../guides/style.md) calls when your bundler builds the application.
8
+ Stillwind compiles [`style()`](https://stillwind.dev/docs/guides/style) calls when your bundler builds the application.
9
9
  This page shows what the compiler generates, what JavaScript remains at
10
10
  runtime, and how the CSS reaches the page.
11
11
 
@@ -24,27 +24,27 @@ export const props = style("rounded-md p-4 text-blue-600 hover:text-blue-800 md:
24
24
  ### Compiled code
25
25
 
26
26
  ```ts
27
- export const props = {className:"sw_hk649"};
27
+ export const props = {className:"sw_krbb8"};
28
28
  ```
29
29
 
30
30
  ### Generated CSS
31
31
 
32
32
 
33
33
  ```css
34
- .sw_hk649 {
34
+ .sw_krbb8 {
35
35
  padding: calc(var(--spacing) * 4);
36
36
  color: var(--color-blue-600);
37
37
  border-radius: var(--radius-md);
38
38
  }
39
39
 
40
40
  @media (hover: hover) {
41
- .sw_hk649:hover {
41
+ .sw_krbb8:hover {
42
42
  color: var(--color-blue-800);
43
43
  }
44
44
  }
45
45
 
46
46
  @media (width >= 48rem) {
47
- .sw_hk649 {
47
+ .sw_krbb8 {
48
48
  padding: calc(var(--spacing) * 6);
49
49
  }
50
50
  }
@@ -75,18 +75,18 @@ import { stillwindClsx, stillwindCssValue } from "stillwind/runtime";
75
75
 
76
76
  declare const active: boolean;
77
77
  declare const progress: number;
78
- export const props = {className:stillwindClsx("sw_zwy1n",(active) && ("sw_h7hj9")),style:{"--progress":stillwindCssValue(progress)}};
78
+ export const props = {className:stillwindClsx("sw_gmm8m",(active) && ("sw_661jk")),style:{"--progress":stillwindCssValue(progress)}};
79
79
  ```
80
80
 
81
81
  ### Generated CSS
82
82
 
83
83
 
84
84
  ```css
85
- .sw_zwy1n {
85
+ .sw_gmm8m {
86
86
  padding: calc(var(--spacing) * 4);
87
87
  }
88
88
 
89
- .sw_h7hj9 {
89
+ .sw_661jk {
90
90
  background-color: var(--color-blue-500);
91
91
  }
92
92
  ```
@@ -102,9 +102,9 @@ chooses class names and sets property values.
102
102
  | Static utilities and variants | A class name |
103
103
  | A condition, such as `active && "..."` | A helper that joins class names |
104
104
  | A runtime custom property | An inline `style` value |
105
- | [`style.cva()`](../macros/cva.md) | A factory that selects compiled class names |
106
- | [`style.media()`](../macros/media.md) | A string with the media query |
107
- | [`style.css()`](../macros/css.md) | A CSS string that you place yourself |
105
+ | [`style.cva()`](https://stillwind.dev/docs/macros/cva) | A factory that selects compiled class names |
106
+ | [`style.media()`](https://stillwind.dev/docs/macros/media) | A string with the media query |
107
+ | [`style.css()`](https://stillwind.dev/docs/macros/css) | A CSS string that you place yourself |
108
108
 
109
109
  Development builds import checked versions of the helpers from
110
110
  `stillwind/runtime/development`. These versions report invalid values while you
@@ -118,7 +118,7 @@ compiles. Utilities that no compiled call uses produce no CSS.
118
118
  Stillwind fixes the precedence of its generated rules at build time. Class-name
119
119
  order and module-loading order do not change it. Production optimizations can
120
120
  combine or move rules without changing the cascade. See
121
- [CSS ordering](css-ordering.md) for base styles, conditions, and variants.
121
+ [CSS ordering](https://stillwind.dev/docs/concepts/css-ordering) for base styles, conditions, and variants.
122
122
 
123
123
  ## Delivering CSS to the page
124
124
 
@@ -126,7 +126,7 @@ The build integration adds the generated CSS to your application. For Vite and
126
126
  the frameworks built on it, the build writes one stylesheet by default.
127
127
  The Astro integration also adds the styles to server-rendered pages and islands.
128
128
  SvelteKit needs a server hook to add them to server-rendered pages in development.
129
- See [Framework integrations](../integrations.md) for the setup of each framework.
129
+ See [Framework integrations](https://stillwind.dev/docs/integrations) for the setup of each framework.
130
130
 
131
131
  `style.css()` returns its CSS as a string instead of adding it to this stylesheet.
132
- To add the styles of a module to a shadow root, see [Web Components](../guides/web-components.md).
132
+ To add the styles of a module to a shadow root, see [Web Components](https://stillwind.dev/docs/guides/web-components).
@@ -23,7 +23,7 @@ of the default stylesheet or add an optional file.
23
23
  | `stillwind/preflight.css` | The reset of default element styles |
24
24
  | `stillwind/utilities.css` | The slot where compiled utility rules go |
25
25
  | `stillwind/builtins.css` | Built-in utilities and variants |
26
- | `stillwind/templates.css` | Output templates of [`style.css()`](../macros/css.md) |
26
+ | `stillwind/templates.css` | Output templates of [`style.css()`](https://stillwind.dev/docs/macros/css) |
27
27
  | `stillwind/logical/*.css` | Optional: logical properties for built-in axis utilities |
28
28
 
29
29
  ## Import the files separately
@@ -42,7 +42,7 @@ of the default stylesheet or add an optional file.
42
42
 
43
43
  Write the `@layer` statement and keep the `layer()` assignments when you remove a
44
44
  line. They decide how these files compete with the rest of your CSS. For example,
45
- [Migrating from CSS](../guides/migrating-from-css.md) leaves out `preflight.css`
45
+ [Migrating from CSS](https://stillwind.dev/docs/guides/migrating-from-css) leaves out `preflight.css`
46
46
  until the old styles are gone.
47
47
 
48
48
  ## Reset only part of the page
@@ -72,7 +72,7 @@ Import only plain CSS in this way, such as `preflight.css`. Keep `stillwind`,
72
72
  `theme.css`, `utilities.css`, `builtins.css`, and other files with Stillwind
73
73
  definitions or `@layer` statements at the top level of the stylesheet. The
74
74
  compiler leaves out a nested import of such a file and reports it with
75
- [invalid-css-import](../lints/invalid-css-import.md).
75
+ [invalid-css-import](https://stillwind.dev/docs/lints/invalid-css-import).
76
76
 
77
77
  ## Optional stylesheets
78
78
 
@@ -108,7 +108,7 @@ changes only its own utilities. Import the files that you need:
108
108
  In a horizontal writing mode, the result is the same. In a vertical writing mode,
109
109
  the utilities change axes, so `overflow-x-auto` scrolls vertically.
110
110
 
111
- [prefer-logical-properties](../lints/prefer-logical-properties.md) does not report
111
+ [prefer-logical-properties](https://stillwind.dev/docs/lints/prefer-logical-properties) does not report
112
112
  the `overflow`, `overscroll`, and `divide` utilities after you import their files.
113
113
  It still reports arbitrary properties such as `[overflow-x:auto]`, because these
114
114
  files do not change them. Their logical forms, such as `[overflow-inline:auto]`,