@teacss/preset-standard 0.6.0 → 0.6.3

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.
package/README.md CHANGED
@@ -29,20 +29,37 @@ import {
29
29
  ```
30
30
 
31
31
  Each `*Values` export contains common property values. CSS-wide keywords are
32
- separate. `multiplerKeywords` remains a deprecated alias for
33
- `multiplierKeywords`.
32
+ separate. Use `multiplierKeywords` for the numbered scale.
34
33
 
35
34
  ## Application shortcuts
36
35
 
37
36
  ```css
38
- @shortcut hstack "d:flex flex-direction:row align-items:center";
39
- @shortcut truncate "overflow:hidden text-overflow:ellipsis white-space:nowrap";
37
+ @shortcut stack-row "d:flex flex-direction:row align-items:center";
38
+ @shortcut text-truncate "overflow:hidden text-overflow:ellipsis white-space:nowrap";
40
39
  ```
41
40
 
42
41
  Declarations may live in the CSS entry, imported CSS, or CSS matched by
43
42
  `@source`. Conditions remain valid on use, and the last declaration of a name
44
43
  wins. Programmatic shortcuts use Core's generic `UserConfig` types.
45
44
 
45
+ ## Paired sizing and logical dividers
46
+
47
+ For text-flow sizing, `size:4x`, `min-size:4x`, and `max-size:4x` set both
48
+ inline and block sizes. For fixed geometry, use `dimensions:4x`,
49
+ `min-dimensions:4x`, and `max-dimensions:4x` for width and height. These are
50
+ ordinary Standard declarations. Values must be accepted by both underlying
51
+ single-axis rules. Variables, arbitrary values, and suffix conditions work as
52
+ they do on those rules. `size:screen` emits `100vi` and `100vb`;
53
+ `dimensions:screen` emits `100vw` and `100vh`.
54
+
55
+ `divide-inline-width:` and `divide-block-width:` draw on logical inline-end
56
+ and block-end edges. `divide-x-width:` and `divide-y-width:` keep physical
57
+ right and bottom edges. `divide-color:` and `divide-style:` supply common
58
+ settings. `divide-inline-color/style:` and `divide-block-color/style:` override
59
+ only the named logical axis. Color and style alone do not draw a divider; each
60
+ axis needs its own width. To change axes at a breakpoint, set the old width to
61
+ `0` and the new width explicitly.
62
+
46
63
  ## Preflight and themes
47
64
 
48
65
  Preflight emits low-specificity reset rules and theme variables. Set
@@ -90,26 +107,14 @@ for Safari/VoiceOver. The reset adds no brand palette or global motion policy.
90
107
  Element-local `reset-*` shortcuts belong to the optional Official preset;
91
108
  Standard does not register those classes.
92
109
 
93
- ### Role palettes and mode regions
94
-
95
- Primary creates emphasis. Neutral builds the interface. Semantic colors communicate state.
96
-
97
- Standard provides seven 12-step roles: primary → gray, neutral → sage,
98
- focused → neutral, success → jade, warning → amber, failure → red, general → blue. Use
99
- `bg-color:primary-200 text-color:primary-950` directly. Neither Standard nor
100
- Official adds background/hover/foreground aliases; role steps already describe
101
- those uses. Keep palette selection in central configuration.
110
+ ### Global role palettes and color scheme
102
111
 
103
- The role order is primary, neutral, then the states: focused, success, warning,
104
- failure, general. Focused follows the resolved neutral scale at each step when
105
- no focused selection applies, including when `@focused` is omitted. Declaring
106
- `@focused` only enables choices; it does not change this fallback. A configured
107
- `data-css-focused` selection overrides it. Empty, unknown or undeclared selections
108
- return to the region’s neutral palette; `theme.rolePalettes.focused: []` clears
109
- independent choices. Application `@custom` overrides still take precedence in
110
- the base mapping.
112
+ Standard has seven 12-step roles: primary → gray, neutral → sage, focused →
113
+ neutral, success → jade, warning → amber, failure → red, and general → blue.
114
+ Use numbered roles directly, such as `bg-color:primary-200 text-color:primary-950`.
115
+ Official adds structure without background/hover/foreground color aliases.
111
116
 
112
- Declare selectable physical palettes in the CSS entry:
117
+ The CSS entry registers the selectable built-in physical palettes:
113
118
 
114
119
  ```css
115
120
  @presets "standard,official";
@@ -123,43 +128,70 @@ Declare selectable physical palettes in the CSS entry:
123
128
  @teacss;
124
129
  ```
125
130
 
126
- Lists add available selections, not defaults. Repeated declarations/imports union
127
- and sort each role's names. Sources must be lowercase kebab-case physical palettes
128
- with all 12 base steps and no direct or transitive role references in any mode.
129
- Programmatic `theme.rolePalettes` has seven optional arrays; later arrays replace
130
- earlier arrays per role, and `[]` clears that role. It is global configuration,
131
- not a scale or a mode field. No DOM scanning is involved.
131
+ Repeated/imported lists union and sort. They enable choices without changing
132
+ defaults; removing every list for a role clears its choices. Only Standard's
133
+ original built-in physical palette names are candidates. Overrides through
134
+ `@custom` or `theme.colors` keep that identity; custom names remain available to
135
+ ordinary color utilities but cannot become role candidates. Enabled palettes
136
+ need all 12 effective steps and no direct/transitive role references, including
137
+ mode overrides, `preflightBase`, and variable fallbacks. Candidate registration
138
+ has no public Theme field; programmatic consumers load the CSS entry with
139
+ `resolveEntryConfig()`.
132
140
 
133
141
  ```html
134
- <html data-css-primary="gray" data-css-neutral="sage" data-css-mode="dark">
135
- <body>
136
- <section data-css-primary="red" data-css-mode="light">
137
- <p>Red / sage / light</p>
138
- <article data-css-neutral="slate">Gray / slate / dark</article>
139
- </section>
140
- </body>
142
+ <html data-css-primary="blue" data-css-neutral="slate" data-css-scheme="dark">
143
+ <body><p class="text-color:primary-900">Global blue / slate / dark</p></body>
141
144
  </html>
142
145
  ```
143
146
 
144
- Any of the seven `data-css-<role>` attributes, `data-css-mode`, or configured mode
145
- alias starts a region. Each of its eight dimensions uses the same selection order:
146
- **own attribute → root HTML attribute → configured default**. Intermediate
147
- regions are ignored. Plain descendants inherit until the next region. Empty,
148
- unknown, or undeclared values explicitly select the configured default and block
149
- root fallback. Removing the last marker rejoins the enclosing region. Runtime
150
- attribute changes need no regeneration. `data-css-theme` has no TeaCSS meaning.
151
-
152
- `@dark` / `@light` test the final styled target's region; pseudo-elements use their
153
- host. No explicit mode activates neither condition. `defaultMode` names the base
154
- palette; `@os-dark` / `@os-light` remain independent media queries.
155
- `modeSelectors: { dark: ".night", light: ".day" }` adds aliases; explicit mode
156
- attributes win, both aliases select neutral mode, and neither alias is implicit.
157
- Programmatic mode names preserve case, spaces and punctuation; empty names, NUL
158
- and unpaired surrogates are rejected.
147
+ Only html role attributes, `data-css-scheme` and configured mode aliases select
148
+ colors. Descendants inherit; the same markers on descendants have no effect.
149
+ Missing, empty, unknown or undeclared role values use configured defaults.
150
+ Focused defaults to final global neutral while preserving explicit default
151
+ step overrides. Valid root focused selection chooses an independent palette.
152
+ Changing root attributes switches registered candidates without regenerating CSS.
153
+
154
+ `@dark` / `@light` inspect html for every final target, including pseudo-elements.
155
+ Without a valid explicit mode, neither condition activates, even when `defaultMode` is
156
+ dark; `defaultMode` names the base table. OS conditions remain independent media
157
+ queries. `modeSelectors: { dark: ".night", light: ".day" }` adds optional aliases
158
+ on html. Canonical `data-css-scheme` wins even when empty/invalid; conflicting
159
+ aliases select neither mode. Aliases are never implicit. Mode names preserve
160
+ case, spaces and punctuation; empty names, NUL and unpaired surrogates are invalid.
161
+
162
+ Theme output uses zero-specificity ordinary html selectors: base variables once,
163
+ mode differences, then independent role mappings. Each role/candidate mapping is
164
+ emitted once, without multiplying it by modes or other roles. `preflightRoot`
165
+ adds explicit re-declaration targets that always use html selections; it does not
166
+ enable local colors. On-demand preflight retains the consumed dependency closure
167
+ through all registered candidates and effective modes. With preflight disabled,
168
+ root mode conditions still work but the application supplies variables.
159
169
 
160
170
  Global `@custom` sets scales and colors; `@custom dark` changes colors only.
161
- Whole-theme variants are unsupported. `@custom theme ...` and `theme.themes`
162
- are errors. Palette selection never changes spacing, radii or shadow templates.
171
+ Whole-theme variants and role scheme blocks are unsupported. Color selection
172
+ never resets inherited spacing or changes radius/shadow geometry.
173
+
174
+ ### Spacing scaling
175
+
176
+ The default chain is `--scaling → --spacing → default 1x…9x`:
177
+
178
+ ```css
179
+ --spacing: calc(0.25rem * var(--scaling, 1));
180
+ --spacing-1x: var(--spacing);
181
+ --spacing-5x: calc(var(--spacing) * 6);
182
+ ```
183
+
184
+ Set the existing variable utility on html, such as `$scaling:0.5@sm`, to halve
185
+ numeric and default named spacing at the configured `sm` breakpoint (768px by
186
+ default). Named multipliers remain `1,2,3,4,6,8,10,12,16`. Only the base formula
187
+ reads scaling; no extra multiplier or default `--scaling` declaration is emitted.
188
+
189
+ A root override of `--spacing` replaces the base formula and also changes default
190
+ named steps. Explicit named overrides remain final values; reference `--spacing`
191
+ to make a custom step follow the chain. Fixed lengths and unrelated scales are
192
+ unchanged. Variables resolve where declared, so a descendant-only scaling change
193
+ does not recompute inherited root spacing. Existing `preflightRoot` follows normal
194
+ CSS re-declaration semantics. No density configuration or additional rule is needed.
163
195
 
164
196
  ### Relationship markers
165
197
 
@@ -181,7 +213,7 @@ Names are case-sensitive. Group remains descendant matching, peer uses `~`.
181
213
  `@lang-<tag>` compares the complete root `html:root[lang]` value, ignoring ASCII
182
214
  case without trimming. Here `@lang-zh` matches and `@lang-en` does not.
183
215
  `zh`, `zh-CN`, and `zh-Hans` are independent: `@lang-zh` does not match a root
184
- value of `zh-CN`. Local `lang`, theme, and mode regions do not override the root
216
+ value of `zh-CN`. Local `lang` and descendant color markers do not override the root
185
217
  language.
186
218
  Root elements, descendants, targets, and pseudo-elements share this condition.
187
219
 
@@ -231,11 +263,32 @@ Native shorthands are emitted before their component overrides. For example,
231
263
  produces a 4px top border. Reversing those arguments leaves only the shorthand.
232
264
  The same ordering covers place/gap/columns, text families and corner shapes;
233
265
  explicit display and overflow can override `line-clamp`'s corresponding declarations.
266
+ `animation-composition:` stays independent of `animation:` in either input order;
267
+ merging a named animation preserves its additive or accumulating behavior.
268
+
269
+ ## Source and condition boundaries
270
+
271
+ `space-*` conditions, including conditions on enclosing shortcuts and reverse
272
+ activators, target the container. Conditional spacing overrides its default even
273
+ when the requested distance is smaller; child-local margin utilities still win
274
+ against the zero-specificity container rules.
275
+
276
+ Named container queries require a valid container name. CSS-wide keywords,
277
+ `default`, `none`, `and`, `or`, and `not` are rejected, including escaped or
278
+ case-varied spellings, rather than becoming anonymous queries.
279
+
280
+ The `!` suffix marks the declaration important even when its value contains the
281
+ literal text `!important`. Quoted text and function arguments are not priorities.
282
+
283
+ The default `:css:` transformer decodes static JS/TS string escapes once before
284
+ compilation. JSX/HTML attribute values and `String.raw` retain their CSS escapes.
285
+ Dynamic template literals are left unchanged; use complete static strings for
286
+ compiled classes. Kept unknown classes are escaped back into the original JS quote.
234
287
 
235
288
  ## Value and composition boundaries
236
289
 
237
290
  - Logical border width/style pairs accept two arbitrary components, such as
238
- `border-a-width:[1px_2px]`; physical x/y and single-edge forms accept one.
291
+ `border-inline-width:[1px_2px]`; physical x/y and single-edge forms accept one.
239
292
  - `[…]` keeps structurally valid arbitrary CSS, including
240
293
  `animation-name:[var(--name)]`. It does not guarantee browser support.
241
294
  - Custom-variable values and `font-palette` use the shared structural checks;
@@ -247,7 +300,11 @@ explicit display and overflow can override `line-clamp`'s corresponding declarat
247
300
  `shadow:$shadow-card` reads a complete raw variable without recoloring;
248
301
  `box-shadow:[…]` replaces the whole composed surface.
249
302
  - Named animations quote their decoded CSS names to avoid shorthand keyword
250
- ambiguity. Numeric zero iteration counts remain zero.
303
+ ambiguity. Numeric zero iteration counts remain zero. `animation:spin` rotates
304
+ at `1s linear infinite`; `animation:spinner` fades a spinner leaf from opacity
305
+ `1` to `.25` at `800ms linear infinite`. Duration, timing, and iteration
306
+ utilities override these defaults. Gate decorative motion with `@motion-safe`
307
+ or stop it with `animation:none@motion-reduce`.
251
308
  - Bare background/mask sizes cannot be negative.
252
309
  - Border-spacing axis variables do not inherit into nested tables.
253
310
  - Gradient properties are registered on demand, retaining shared fallbacks
@@ -260,7 +317,7 @@ exactly `on`, with ordinary importance and suffix conditions:
260
317
 
261
318
  ```txt
262
319
  mask-g-linear:on mask-g-radial:on mask-g-conic:on
263
- space-x-reverse:on space-y-reverse:on space-a-reverse:on space-c-reverse:on
320
+ space-x-reverse:on space-y-reverse:on space-inline-reverse:on space-block-reverse:on
264
321
  ```
265
322
 
266
323
  Use `divide-x-width:1` / `divide-y-width:1` for 1px child dividers. The former
@@ -0,0 +1 @@
1
+ const e=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],t=`px.pt.pc.in.cm.mm.q.rpx.%.em.rem.ex.rex.ch.rch.cap.rcap.ic.ric.lh.rlh.vw.vh.vi.vb.vmin.vmax.svw.svh.svi.svb.svmin.svmax.lvw.lvh.lvi.lvb.lvmin.lvmax.dvw.dvh.dvi.dvb.dvmin.dvmax.cqw.cqh.cqi.cqb.cqmin.cqmax`.split(`.`),ee=`(?:${t.filter(e=>e!==`rpx`&&e!==`%`).join(`|`)})`,te=`(?:%|${t.filter(e=>e!==`rpx`&&e!==`%`).join(`|`)})`,ne=new Set(`transparent.aliceblue.antiquewhite.aqua.aquamarine.azure.beige.bisque.black.blanchedalmond.blue.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkgrey.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkslategrey.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dimgrey.dodgerblue.firebrick.floralwhite.forestgreen.fuchsia.gainsboro.ghostwhite.gold.goldenrod.gray.green.greenyellow.grey.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightgrey.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightslategrey.lightsteelblue.lightyellow.lime.limegreen.linen.magenta.maroon.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.navy.oldlace.olive.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.purple.rebeccapurple.red.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.silver.skyblue.slateblue.slategray.slategrey.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen`.split(`.`)),re=[`xs`,`sm`,`md`,`lg`,`xl`],n=[`mini`,`small`,`medium`,`large`,`wide`],r=[`top`,`bottom`,`left`,`right`,`center`,`top-left`,`top-right`,`bottom-left`,`bottom-right`],i=[`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],a=[`1c`,`2c`,`3c`,`4c`,`5c`,`6c`,`7c`,`8c`,`9c`],o=[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],s=[`thin`,`medium`,`thick`],c=[`gold`,`bronze`,`brown`,`yellow`,`amber`,`orange`,`tomato`,`red`,`ruby`,`crimson`,`pink`,`plum`,`purple`,`violet`,`iris`,`indigo`,`blue`,`cyan`,`teal`,`jade`,`green`,`grass`,`lime`,`mint`,`sky`],l=[`gray`,`mauve`,`slate`,`sage`,`olive`,`sand`],u=[`gray`,...c],d=[`auto`,...l],f=[`auto`,`square`,`video`],p=[`auto`,`avoid`,`always`,`all`,`avoid-page`,`page`,`left`,`right`,`recto`,`verso`,`avoid-column`,`column`,`avoid-region`,`region`],m=[`auto`,`avoid`,`avoid-page`,`avoid-column`,`avoid-region`],h=[`auto`,`avoid`,`always`,`all`,`avoid-page`,`page`,`left`,`right`,`recto`,`verso`,`avoid-column`,`column`,`avoid-region`,`region`],g=[`slice`,`clone`],_=[`border-box`,`content-box`],v=`block.inline.inline-block.inline-flex.inline-grid.inline-table.flex.grid.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.flow.flow-root.ruby.ruby-base.ruby-text.ruby-base-container.ruby-text-container.list-item.contents.none.run-in.math`.split(`.`),y=[`left`,`right`,`inline-start`,`inline-end`,`none`],b=[`left`,`right`,`both`,`inline-start`,`inline-end`,`none`],x=[`auto`,`isolate`],S=[`auto`],C=[`auto`,`balance`,`balance-all`],w=[`auto`],T=[`none`,`all`],E=[`auto`],D=[`auto`,`nowrap`,`wrap`],O=[`contain`,`cover`,`fill`,`none`,`scale-down`],k=[...r],A=[`auto`,`hidden`,`clip`,`visible`,`scroll`],j=[`normal`,`break-word`,`anywhere`],M=[`auto`,`contain`,`none`],N=[`static`,`fixed`,`absolute`,`relative`,`sticky`],P=[`normal`,`source-order`,`flex-visual`,`flex-flow`,`grid-rows`,`grid-columns`,`grid-order`],F=[`visible`,`hidden`,`collapse`],I=[`visible`,`hidden`,`auto`],L=[`none`,`margin-box`,`border-box`,`padding-box`,`content-box`],R=[`auto`,`outside-shape`,`display`,`margin-box`,`border-box`,`padding-box`,`content-box`],z=[`none`,`parent`,`display`],B=[`auto`,`1`,`10`,`100`,`-1`],V=[`row`,`row-reverse`,`column`,`column-reverse`],H=[`auto`,`content`,`min`,`max`,`fit`,`stretch`,`contain`,`px`,...a],U=[`wrap`,`nowrap`,`wrap-reverse`],W=[`0`,`1`],G=[`0`,`1`],K=[`1`,`none`,`auto`],q=[`first`,`last`],J=[`0`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],Y=[`normal`,`none`,`intersection`],X=[`row-over-column`,`column-over-row`],ie=[`overlap-join`],ae=[`all`,`around`,`between`,`normal`],oe=[...s],se=[`auto`],ce=[`none`,`subgrid`,`stretch`,...o],le=[`auto`,...o],ue=[`auto`,...o],de=[`auto`,`min`,`max`,`fr`],fe=[`row`,`column`,`dense`,`row-dense`,`column-dense`],pe=[`center`,`safe-center`,`start`,`end`,`flex-start`,`flex-end`,`safe-end`,`normal`,`space-between`,`space-around`,`space-evenly`,`stretch`],me=[`center`,`safe-center`,`start`,`end`,`safe-end`,`normal`,`stretch`],he=[`auto`,`center`,`safe-center`,`start`,`end`,`safe-end`,`stretch`],ge=[`center`,`start`,`end`,`flex-start`,`flex-end`,`normal`,`space-between`,`space-around`,`space-evenly`,`baseline`,`stretch`],_e=[`center`,`safe-center`,`start`,`end`,`flex-start`,`flex-end`,`safe-end`,`baseline`,`last`,`stretch`],ve=[`auto`,`center`,`safe-center`,`start`,`end`,`flex-start`,`flex-end`,`safe-end`,`baseline`,`last`,`stretch`],ye=[`center`,`safe-center`,`start`,`end`,`safe-end`,`space-between`,`space-around`,`space-evenly`,`stretch`],be=[`center`,`safe-center`,`start`,`end`,`safe-end`,`baseline`,`stretch`],xe=[`auto`,`center`,`safe-center`,`start`,`end`,`safe-end`,`stretch`],Se=[`0`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],Z=[`auto`,`0`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`,`-1x`,`-2x`,`-3x`,`-4x`,`-5x`,`-6x`,`-7x`,`-8x`,`-9x`],Ce=Z,we=[`auto`,...a,...i,`screen`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,`stretch`,`contain`],Te=[`sans`,`classic`,`mono`],Ee=[`serif`,`sans-serif`,`monospace`,`cursive`,`fantasy`,`system-ui`,`ui-serif`,`ui-sans-serif`,`ui-monospace`,`ui-rounded`,`emoji`,`math`,`fangsong`],De=[`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],Oe=[`normal`,`bold`,`bolder`,`lighter`],ke=[`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],Ae=[`xx-small`,`x-small`,`small`,`medium`,`large`,`x-large`,`xx-large`,`xxx-large`,`larger`,`smaller`],je=[`normal`,`italic`,`oblique`],Me=[`normal`,`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`],Ne=[`normal`,`ordinal`,`slashed-zero`,`lining-nums`,`oldstyle-nums`,`proportional-nums`,`tabular-nums`,`diagonal-fractions`,`stacked-fractions`],Pe=[`auto`,`none`],Fe=[`auto`,`none`,`oblique-only`],Ie=[`auto`,`normal`,`none`],Le=[`auto`,`none`],Re=[`normal`,`light`,`dark`],ze=[`normal`,`small-caps`,`all-small-caps`,`petite-caps`,`all-petite-caps`,`unicase`,`titling-caps`],Be=[`normal`,`text`,`emoji`,`unicode`],Ve=[`normal`,`none`,`common-ligatures`,`no-common-ligatures`,`discretionary-ligatures`,`no-discretionary-ligatures`,`historical-ligatures`,`no-historical-ligatures`,`contextual`,`no-contextual`],He=[`normal`,`jis78`,`jis83`,`jis90`,`jis04`,`simplified`,`traditional`,`full-width`,`proportional-width`,`ruby`],Ue=[`normal`,`historical-forms`],We=[`normal`,`sub`,`super`],Ge=[`left`,`center`,`right`,`justify`,`start`,`end`,`match-parent`,`justify-all`],Ke=[`start`,`end`,`left`,`right`,`center`,`justify`,`match-parent`],qe=[`none`,`start`,`end`,`left`,`right`,`center`],Je=[`wrap`,`nowrap`,`balance`,`pretty`,`stable`],Ye=[`wrap`,`nowrap`],Xe=[`auto`,`balance`,`stable`,`pretty`,`avoid-orphans`],Ze=[`auto`,`none`,`inter-word`,`inter-character`,`ruby`,`no-compress`],Qe=[`normal`,`auto`,`no-autospace`,`ideograph-alpha`,`ideograph-numeric`,`punctuation`,`insert`,`replace`],$e=[`space-all`,`normal`,`space-first`,`trim-start`,`trim-both`,`trim-all`,`auto`],et=[`none`,`auto`,`normal`,`space-all`,`space-first`,`trim-start`,`trim-both`,`trim-all`,`no-autospace`,`ideograph-alpha`,`ideograph-numeric`,`punctuation`,`insert`,`replace`],tt=[`auto`,`under`,`left`,`right`],nt=[`none`,`all`],rt=[`auto`,`none`,`all`],it=[`auto`,`skip-all`,`skip-underline`,`skip-overline`,`skip-line-through`,`no-skip`],at=[`none`,`all`,`start`,`end`],ot=[`spaces`,`punctuation`,`symbols`,`narrow`],st=[`transparent`,`current`,`black`,`white`],ct=[`mixed`,`upright`,`sideways`],lt=[`none`,`uppercase`,`lowercase`,`capitalize`,`full-width`,`full-size-kana`,`math-auto`],ut=[`clip`,`ellipsis`],dt=[`px`,`2`,`8`,`16`,`50%`,`1/2`,`[2em]`,`[2em_hanging]`,`[2em_each-line]`,`$indent`],ft=[`underline`,`overline`,`line-through`,`spelling-error`,`grammar-error`,`none`],pt=[`solid`,`double`,`dotted`,`dashed`,`wavy`],mt=[`auto`,`from-font`],ht=[`auto`],gt=[`auto`,`under`,`left`,`right`],_t=[`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`,`tighter`,`tight`,`wide`,`wider`,`normal`,`0.1em`,`2px`,`-0.1em`,`1`,`[0.1em]`,`$letterSpacing`],vt=[`normal`,`start`,`end`,`both`],yt=[`1`,`normal`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`,`1.5`,`24px`,`50%`,`[1.4]`,`$lineHeight`],bt=[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],xt=[`match-parent`,`create`],St=[`none`,`baseline`,`contain`],Ct=[`none`,`block-start`,`block-end`,`center`,`baseline`,`last-baseline`],wt=[`none`],Tt=[`margin-box`,`padding-box`,`content-box`],Et=[`auto`,`center`,`start`,`end`],Dt=[`up`,`down`,`nearest`],Ot=[`none`,`disc`,`circle`,`square`,`decimal`,`decimal-leading-zero`,`lower-roman`,`upper-roman`,`lower-greek`,`lower-latin`,`upper-latin`,`armenian`,`georgian`,`lower-alpha`,`upper-alpha`],kt=[`inside`,`outside`],At=[`match-self`,`match-parent`],jt=[`baseline`,`sub`,`super`,`text-top`,`text-bottom`,`middle`,`top`,`bottom`],Mt=[`auto`,`text-bottom`,`alphabetic`,`ideographic`,`middle`,`central`,`mathematical`,`hanging`,`text-top`],Nt=[`auto`,`first`,`last`],Pt=[`baseline`,`text-bottom`,`alphabetic`,`ideographic`,`middle`,`central`,`mathematical`,`text-top`],Ft=[`sub`,`super`,`top`,`center`,`bottom`],It=[`leading`,`text`,`ideographic`,`ideographic-ink`],Lt=[`none`,`trim-start`,`trim-end`,`trim-both`],Rt=[`auto`,`text`,`ideographic`,`ideographic-ink`],zt=[`normal`,`stretch`],Bt=[`alphabetic`,`ideographic`,`hanging`,`leading`,`border-box`],Vt=[`none`,`first`,`all`,`grid`],Ht=[`horizontal-tb`,`vertical-rl`,`vertical-lr`,`sideways-rl`,`sideways-lr`],Ut=[`none`,`all`,`digits`],Wt=[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`],Gt=[`collapse`,`discard`,`preserve`,`preserve-breaks`,`preserve-spaces`,`break-spaces`],Kt=[`none`,`discard-before`,`discard-after`,`discard-inner`],qt=[`normal`,`break-all`,`keep-all`,`auto-phrase`,`manual`],Jt=[`none`,`space`,`ideographic-space`,`auto-phrase`],Yt=[`auto`,`loose`,`normal`,`strict`,`anywhere`],Xt=[`auto`,`avoid`,`avoid-line`,`avoid-flex`,`line`,`flex`],Zt=[`auto`,`avoid`],Qt=[`1x`,`2x`,`3x`,`4x`,`5x`,`6x`,`7x`,`8x`,`9x`],$t=[`none`,`manual`,`auto`],en=[`none`,`always`,`column`,`page`,`spread`],tn=[`no-limit`],nn=[`normal`,`embed`,`isolate`,`bidi-override`,`isolate-override`,`plaintext`],rn=[`alternate`,`over`,`under`,`inter-character`],Q=[`separate`,`merge`,`auto`],an=[`start`,`center`,`space-between`,`space-around`],on=[`auto`,`spaces`,`none`],sn=[`normal`,`none`,`open-quote`,`close-quote`,`no-open-quote`,`no-close-quote`],cn=[`none`,`auto`],ln=[`none`],un=[`none`],dn=[`open`,`closed`],fn=[`none`],pn=[`block`,`inline`,`compact`],mn=[`auto`,`line`,`block`],hn=[`0`,`1`,`2`,`4`,`8`],gn=[...r],_n=[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`,`plus-lighter`],vn=[`fixed`,`local`,`scroll`],yn=[`border-box`,`padding-box`,`content-box`,`text`],bn=[`none`],xn=[`transparent`,`current`,`black`,`white`],Sn=[`border-box`,`padding-box`,`content-box`],Cn=[`repeat`,`repeat-x`,`repeat-y`,`no-repeat`,`space`,`round`],wn=[`auto`,`cover`,`contain`],Tn=[`solid`,`dashed`,`dotted`,`double`,`groove`,`ridge`,`inset`,`outset`,`hidden`,`none`],En=[`auto`,`none`,`dotted`,`dashed`,`solid`,`double`,`groove`,`ridge`,`inset`,`outset`],Dn=[...s],On=[`transparent`,`current`,`black`,`white`],kn=[`collapse`,`separate`],An=[`none`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`],jn=[`round`,`scoop`,`bevel`,`notch`,`square`,`squircle`],Mn=[`none`],Nn=[`none`,...n],Pn=[`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],Fn=[`none`],In=[`auto`,`fixed`],Ln=[`top`,`bottom`,`inline-start`,`inline-end`],Rn=[`show`,`hide`],zn=[`none`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`],Bn=[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`,`plus-lighter`],Vn=[`border-box`,`padding-box`,`content-box`,`fill-box`,`stroke-box`,`view-box`,`no-clip`],Hn=[`add`,`subtract`,`intersect`,`exclude`],Un=[`none`],Wn=[`alpha`,`luminance`,`match-source`],Gn=[`border-box`,`padding-box`,`content-box`,`fill-box`,`stroke-box`,`view-box`],Kn=[`repeat`,`repeat-x`,`repeat-y`,`no-repeat`,`space`,`round`],qn=[`auto`,`cover`,`contain`],Jn=[`luminance`,`alpha`],Yn=[`circle`,`ellipse`,`closest-side`,`closest-corner`,`farthest-corner`,`farthest-side`],Xn=[`from-image`,`1dppx`,`2dppx`,`96dpi`,`300dpi`],Zn=[`none`],Qn=[`none`,`1x`,`2x`,`3x`,`4x`,`5x`,`6x`],$n=[`none`,`1x`,`2x`,`3x`,`4x`,`5x`],er=[`none`,`spin`,`ping`,`pulse`,`bounce`],tr=[`visible`,`hidden`],nr=[`none`,`0`,`800`,`1.5`,`800px`,`2rem`,`[800px]`,`[calc(100px_+_1rem)]`,`$perspective`],rr=[...r],ir=[`flat`,`preserve-3d`],ar=[`none`],or=[`border-box`,`content-box`,`fill-box`,`stroke-box`,`view-box`],sr=[`none`,`0`,`45`,`90`,`180`,`270`,`360`,`-45`,`-90`,`-180`,`-270`,`-360`],cr=[`none`],lr=[`none`],ur=[`none`,`all`,`colors`,`opacity`,`shadow`,`transform`],dr=[`normal`,`allow-discrete`],fr=[`linear`,`ease`,`ease-in`,`ease-out`,`ease-in-out`,`step-start`,`step-end`],pr=[`none`,`auto`,`base`,`base-select`,`textfield`,`menulist-button`,`button`,`searchfield`,`textarea`,`checkbox`,`radio`,`menulist`,`listbox`,`meter`,`progress-bar`],mr=[`normal`,`dark`,`light`,`light-dark`,`dark-light`,`only-dark`,`only-light`],hr=`auto.default.none.context-menu.help.pointer.progress.wait.cell.crosshair.text.vertical-text.alias.copy.move.no-drop.not-allowed.grab.grabbing.all-scroll.col-resize.row-resize.n-resize.e-resize.s-resize.w-resize.ne-resize.nw-resize.se-resize.sw-resize.ew-resize.ns-resize.nesw-resize.nwse-resize.zoom-in.zoom-out`.split(`.`),gr=[`fixed`,`content`],_r=[`auto`,`none`,`visiblePainted`,`visibleFill`,`visibleStroke`,`visible`,`painted`,`fill`,`stroke`,`all`,`bounding-box`],vr=[`none`,`both`,`horizontal`,`vertical`,`block`,`inline`],yr=[`auto`,`smooth`],br=[`none`,`start`,`end`,`center`],xr=[`normal`,`always`],Sr=[`proximity`,`mandatory`],Cr=[`none`,`x`,`y`,`both`,`block`,`inline`,`x-mandatory`,`y-mandatory`,`both-mandatory`,`block-mandatory`,`inline-mandatory`,`x-proximity`,`y-proximity`,`both-proximity`,`block-proximity`,`inline-proximity`],wr=[`auto`,`none`,`pan-x`,`pan-y`,`pan-left`,`pan-right`,`pan-up`,`pan-down`,`pinch-zoom`,`manipulation`],Tr=[`auto`,`text`,`none`,`contain`,`all`],Er=[`auto`,`scroll-position`,`contents`,`transform`],Dr=[`none`,`strict`,`content`,`size`,`inline-size`,`layout`,`style`,`paint`],Or=[`auto`,`optimizeSpeed`,`optimizeLegibility`,`geometricPrecision`],kr=[`antialiased`,`subpixel-antialiased`],Ar=[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],jr=[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],Mr=[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],Nr=[`butt`,`round`,`square`],Pr=[`miter`,`round`,`bevel`,`crop`,`arcs`,`fallback`],Fr=[`nonzero`,`evenodd`],Ir=[`normal`,`fill`,`stroke`,`markers`],Lr=[`none`],Rr=[`auto`,`sRGB`,`linearRGB`],zr=[`normal`,`size`,`inline-size`,`scroll-state`],Br=[`ltr`,`rtl`],Vr=[`auto`,`start`,`end`,`left`,`right`,`center`,`justify`,`match-parent`],Hr=[`stretch`,`repeat`,`round`,`space`],Ur=[`none`,`filled`,`open`,`dot`,`circle`,`double-circle`,`triangle`,`sesame`],Wr=[`over`,`under`],Gr=[`replace`,`add`,`accumulate`],Kr=[`block`,`inline`,`x`,`y`],qr=[`auto`,`none`],Jr=[`auto`,`both`,`start`,`end`,`minimum`,`maximum`,`clear`],Yr=[`wrap`,`none`],Xr=[`auto`],Zr=[`none`,`all`],Qr=[`normal`,`most-width`,`most-height`,`most-block-size`,`most-inline-size`],$r=[`always`,`anchor-valid`,`anchor-visible`,`anchors-valid`,`anchors-visible`,`no-overflow`],ei=[`legacy`,`zero-if-scroll`,`zero-if-extrinsic`],ti=[`numeric-only`,`allow-keywords`],ni=[`none`,`before`,`after`,`links`,`tabs`],ri=[`auto`,`none`],ii=[`none`,`nearest`],ai=[`auto`,`manual`],oi=[`auto`,`inert`],si=[`normal`],ci=[`auto`],li=[`none`,`move`],ui=[`auto`,`contain`],di=[`auto`,`focus`,`scroll`],fi=[`normal`,`grid`],pi=[`standard`,`no-limit`,`constrained`],mi=[`normal`,`contain`,`nearest`],hi=[`none`,`all`],$=`center.top.bottom.left.right.span-top.span-bottom.span-left.span-right.start.end.self-start.self-end.span-start.span-end.span-self-start.span-self-end.span-all.x-start.x-end.span-x-start.span-x-end.self-x-start.self-x-end.span-self-x-start.span-self-x-end.y-start.y-end.span-y-start.span-y-end.self-y-start.self-y-end.span-self-y-start.span-self-y-end.block-start.block-end.span-block-start.span-block-end.self-block-start.self-block-end.span-self-block-start.span-self-block-end.inline-start.inline-end.span-inline-start.span-inline-end.self-inline-start.self-inline-end.span-self-inline-start.span-self-inline-end`.split(`.`),gi=[`none`,`flip-block`,`flip-inline`,`flip-start`,`flip-x`,`flip-y`,...$],_i=[`auto`,`bar`,`block`,`underscore`],vi=[`economy`,`exact`],yi=[`none`,`x-weak`,`weak`,`medium`,`strong`,`x-strong`],bi=[`none`],xi=[`auto`,`never`,`always`],Si=[`left`,`center`,`right`,`leftwards`,`rightwards`],Ci=[`auto`],wi=[`preserve`,`male`,`female`,`neutral`],Ti=[`x-low`,`low`,`medium`,`high`,`x-high`],Ei=[`normal`,`x-slow`,`slow`,`medium`,`fast`,`x-fast`],Di=[`normal`,`strong`,`moderate`,`none`,`reduced`],Oi=[`silent`,`x-soft`,`soft`,`medium`,`loud`,`x-loud`],ki=[`auto`,`none`,`preserve-parent-color`],Ai=[`auto`,`crisp-edges`,`pixelated`,`smooth`,`high-quality`];export{S as $,nn as $i,Jn as $n,L as $r,De as $t,z as A,e as Aa,dt as Ai,vt as An,c as Ar,K as At,zn as B,Xe as Bi,Ot as Bn,rn as Br,ke as Bt,Et as C,Yr as Ca,rt as Ci,oi as Cn,_r as Cr,gr as Ct,Qn as D,ee as Da,ot as Di,pe as Dn,N as Dr,V as Dt,wt as E,te as Ea,Wr as Ei,x as En,gi as Er,H as Et,Mn as F,$e as Fi,xt as Fn,vr as Fr,Ie as Ft,m as G,rr as Gi,Vn as Gn,ii as Gr,Fe as Gt,Ct as H,Kr as Hi,Z as Hn,fn as Hr,Me as Ht,Fn as I,et as Ii,yt as In,sr as Ir,Ne as It,ai as J,dr as Ji,Wn as Jn,xr as Jr,He as Jt,re as K,ir as Ki,Hn as Kn,ni as Kr,Ue as Kt,Tn as L,lt as Li,St as Ln,an as Lr,Le as Lt,On as M,ct as Mi,Yt as Mn,cn as Mr,y as Mt,Hr as N,ut as Ni,bt as Nn,Nn as Nr,Ee as Nt,un as O,t as Oa,Ur as Oi,me as On,$r as Or,G as Ot,An as P,Or as Pi,It as Pn,P as Pr,Te as Pt,mr as Q,gt as Qi,qn as Qn,R as Qr,Oe as Qt,Pn as R,tt as Ri,s as Rn,Q as Rr,Re as Rt,Nt as S,Zt as Sa,nt as Si,Ce as Sn,r as Sr,Rn as St,Dt as T,B as Ta,at as Ti,ti as Tn,Qr as Tr,Zn as Tt,h as U,wr as Ui,At as Un,cr as Ur,je as Ut,_ as V,Je as Vi,n as Vn,X as Vr,kr as Vt,p as W,or as Wi,Lr as Wn,yr as Wr,Pe as Wt,b as X,lr as Xi,Yn as Xn,Cr as Xr,Ve as Xt,_i as Y,ur as Yi,Gn as Yn,Sr as Yr,Be as Yt,Rr as Z,ht as Zi,Kn as Zn,ri as Zr,We as Zt,Sn as _,qt as _a,Qe as _i,Ai as _n,Ir as _r,v as _t,Zr as a,Si as aa,yi as ai,ae as an,l as ar,Dr as at,wn as b,Xt as ba,st as bi,Vt as bn,be as br,pi as bt,pr as c,Ti as ca,Nr as ci,se as cn,q as cr,sn as ct,tr as d,Oi as da,Ar as di,le as dn,qr as dr,bi as dt,Tr as ea,we as ei,pn as en,ei as er,C as et,vn as f,Gt as fa,hn as fi,ue as fn,A as fr,hr as ft,bn as g,li as ga,Ge as gi,$t as gn,Xr as gr,Br as gt,xn as h,Er as ha,Vr as hi,tn as hn,Se as hr,mt as ht,Pt as i,F as ia,xi as ii,ie as in,d as ir,D as it,kn as j,Ze as ji,_t as jn,vi as jr,U as jt,dn as k,ne as ka,qe as ki,he as kn,u as kr,W as kt,o as l,Ei as la,Pr as li,fe as ln,En as lr,I as lt,yn as m,Wt as ma,Ke as mi,en as mn,M as mr,pt as mt,_e as n,mi as na,ui as ni,ki as nn,i as nr,T as nt,Gr as o,Ci as oa,ln as oi,oe as on,O as or,a as ot,_n as p,Kt as pa,In as pi,ce as pn,j as pr,ft as pt,Ln as q,ar as qi,Un as qn,br as qr,ze as qt,ve as r,hi as ra,fi as ri,Y as rn,ci as rr,E as rt,er as s,wi as sa,jr as si,J as sn,k as sr,zr as st,ge as t,jt as ta,di as ti,mn as tn,Bn as tr,w as tt,f as u,Di as ua,Mr as ui,de as un,Dn as ur,jn as ut,gn as v,Jt as va,Rt as vi,Xn as vn,nr as vr,Mt as vt,Tt as w,Ht as wa,it as wi,si as wn,$ as wr,Fr as wt,Ft as x,Jr as xa,Ut as xi,zt as xn,xe as xr,fr as xt,Cn as y,Qt as ya,Lt as yi,Bt as yn,ye as yr,$n as yt,g as z,Ye as zi,kt as zn,on as zr,Ae as zt};
@@ -6,9 +6,6 @@ export declare const breakpointKeywords: readonly ["xs", "sm", "md", "lg", "xl"]
6
6
  export declare const magnitudeKeywords: readonly ["mini", "small", "medium", "large", "wide"];
7
7
  export declare const placementKeywords: readonly ["top", "bottom", "left", "right", "center", "top-left", "top-right", "bottom-left", "bottom-right"];
8
8
  export declare const multiplierKeywords: readonly ["1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x"];
9
- /** @deprecated Use `multiplierKeywords` instead. */
10
- export /** @deprecated Use `multiplierKeywords` instead. */
11
- declare const multiplerKeywords: readonly ["1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x"];
12
9
  export declare const containerKeywords: readonly ["1c", "2c", "3c", "4c", "5c", "6c", "7c", "8c", "9c"];
13
10
  export declare const arabicnumKeywords: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
14
11
  export declare const lineWidthKeywords: readonly ["thin", "medium", "thick"];
package/dist/constants.js CHANGED
@@ -1 +1 @@
1
- import{$ as e,$i as t,$n as n,$r as r,$t as i,A as a,Ai as o,An as s,Ar as c,At as l,B as u,Bi as d,Bn as f,Br as p,Bt as m,C as h,Ca as g,Ci as _,Cn as v,Cr as y,Ct as b,D as x,Di as S,Dn as C,Dr as w,Dt as T,E,Ea as D,Ei as O,En as k,Er as A,Et as j,F as M,Fi as N,Fn as P,Fr as F,Ft as I,G as L,Gi as R,Gn as z,Gr as B,Gt as V,H,Hi as U,Hn as W,Hr as G,Ht as K,I as q,Ii as J,In as Y,Ir as X,It as Z,J as Q,Ji as $,Jn as ee,Jr as te,Jt as ne,K as re,Ki as ie,Kn as ae,Kr as oe,Kt as se,L as ce,Li as le,Ln as ue,Lr as de,Lt as fe,M as pe,Mi as me,Mn as he,Mr as ge,Mt as _e,N as ve,Ni as ye,Nn as be,Nr as xe,Nt as Se,O as Ce,Oi as we,On as Te,Or as Ee,Ot as De,P as Oe,Pi as ke,Pn as Ae,Pr as je,Pt as Me,Q as Ne,Qi as Pe,Qn as Fe,Qr as Ie,Qt as Le,R as Re,Ri as ze,Rn as Be,Rr as Ve,Rt as He,S as Ue,Sa as We,Si as Ge,Sn as Ke,Sr as qe,St as Je,T as Ye,Ta as Xe,Ti as Ze,Tn as Qe,Tr as $e,Tt as et,U as tt,Ui as nt,Un as rt,Ur as it,Ut as at,V as ot,Vi as st,Vn as ct,Vr as lt,Vt as ut,W as dt,Wi as ft,Wn as pt,Wr as mt,Wt as ht,X as gt,Xi as _t,Xn as vt,Xr as yt,Xt as bt,Y as xt,Yi as St,Yn as Ct,Yr as wt,Yt as Tt,Z as Et,Zi as Dt,Zn as Ot,Zr as kt,Zt as At,_ as jt,_a as Mt,_i as Nt,_n as Pt,_r as Ft,_t as It,a as Lt,aa as Rt,ai as zt,an as Bt,ar as Vt,at as Ht,b as Ut,ba as Wt,bi as Gt,bn as Kt,br as qt,bt as Jt,c as Yt,ca as Xt,ci as Zt,cn as Qt,cr as $t,ct as en,d as tn,da as nn,di as rn,dn as an,dr as on,dt as sn,ea as cn,ei as ln,en as un,er as dn,et as fn,f as pn,fa as mn,fi as hn,fn as gn,fr as _n,ft as vn,g as yn,ga as bn,gi as xn,gn as Sn,gr as Cn,gt as wn,h as Tn,ha as En,hi as Dn,hn as On,hr as kn,ht as An,i as jn,ia as Mn,ii as Nn,in as Pn,ir as Fn,it as In,j as Ln,ja as Rn,ji as zn,jn as Bn,jr as Vn,jt as Hn,k as Un,ki as Wn,kn as Gn,kr as Kn,kt as qn,l as Jn,la as Yn,li as Xn,ln as Zn,lr as Qn,lt as $n,m as er,ma as tr,mi as nr,mn as rr,mr as ir,mt as ar,n as or,na as sr,ni as cr,nn as lr,nr as ur,nt as dr,o as fr,oa as pr,oi as mr,on as hr,or as gr,ot as _r,p as vr,pa as yr,pi as br,pn as xr,pr as Sr,pt as Cr,q as wr,qi as Tr,qn as Er,qr as Dr,qt as Or,r as kr,ra as Ar,ri as jr,rn as Mr,rr as Nr,rt as Pr,s as Fr,sa as Ir,si as Lr,sn as Rr,sr as zr,st as Br,t as Vr,ta as Hr,ti as Ur,tn as Wr,tr as Gr,tt as Kr,u as qr,ua as Jr,ui as Yr,un as Xr,ur as Zr,ut as Qr,v as $r,va as ei,vi as ti,vn as ni,vr as ri,vt as ii,w as ai,wa as oi,wi as si,wn as ci,wr as li,wt as ui,x as di,xa as fi,xi as pi,xn as mi,xr as hi,xt as gi,y as _i,ya as vi,yi,yn as bi,yr as xi,yt as Si,z as Ci,zi as wi,zn as Ti,zr as Ei,zt as Di}from"./constants-CohK_DWr.js";export{Vr as alignContentValues,or as alignItemsValues,kr as alignSelfValues,jn as alignmentBaselineValues,Lt as anchorScopeValues,fr as animationCompositionValues,Fr as animationValues,Yt as appearanceValues,Jn as arabicnumKeywords,qr as aspectValues,tn as backfaceVisibilityValues,pn as backgroundAttachmentValues,vr as backgroundBlendModeValues,er as backgroundClipValues,Tn as backgroundColorValues,yn as backgroundImageValues,jt as backgroundOriginValues,$r as backgroundPositionValues,_i as backgroundRepeatValues,Ut as backgroundSizeValues,di as baselineShiftValues,Ue as baselineSourceValues,h as blockStepAlignValues,ai as blockStepInsertValues,Ye as blockStepRoundValues,E as blockStepSizeValues,x as blurValues,Ce as bookmarkLevelValues,Un as bookmarkStateValues,a as borderBoundaryValues,Ln as borderCollapseValues,pe as borderColorValues,ve as borderImageRepeatValues,Oe as borderRadiusValues,M as borderShapeValues,q as borderSpacingValues,ce as borderStyleValues,Re as borderWidthValues,Ci as boxDecorationValues,u as boxShadowSizeValues,ot as boxSizingValues,H as boxSnapValues,tt as breakAfterValues,dt as breakBeforeValues,L as breakInsideValues,re as breakpointKeywords,wr as captionSideValues,Q as caretAnimationValues,xt as caretShapeValues,gt as clearValues,Et as colorInterpolationFiltersValues,Ne as colorSchemeValues,e as columnCountValues,fn as columnFillValues,Kr as columnHeightValues,dr as columnSpanValues,Pr as columnWidthValues,In as columnWrapValues,Ht as containValues,_r as containerKeywords,Br as containerTypeValues,en as contentValues,$n as contentVisibilityValues,Qr as cornerShapeValues,sn as cueValues,vn as cursorValues,Cr as decorationLineValues,ar as decorationStyleValues,An as decorationThicknessValues,wn as directionValues,It as displayValues,ii as dominantBaselineValues,Si as dropShadowValues,Jt as dynamicRangeLimitValues,gi as easingKeywords,Je as emptyCellsValues,b as fieldSizingValues,ui as fillRuleValues,et as filterValues,j as flexBasisValues,T as flexDirectionValues,De as flexGrowValues,qn as flexShrinkValues,l as flexValues,Hn as flexWrapValues,_e as floatValues,Se as fontFamilyKeywords,Me as fontFamilyValues,I as fontKerningValues,Z as fontNumericValues,fe as fontOpticalSizingValues,He as fontPaletteValues,Di as fontSizeKeywords,m as fontSizeValues,ut as fontSmoothingValues,K as fontStretchValues,at as fontStyleValues,ht as fontSynthesisBooleanValues,V as fontSynthesisStyleValues,se as fontVariantAlternatesValues,Or as fontVariantCapsValues,ne as fontVariantEastAsianValues,Tt as fontVariantEmojiValues,bt as fontVariantLigaturesValues,At as fontVariantPositionValues,Le as fontWeightKeywords,i as fontWeightValues,un as footnoteDisplayValues,Wr as footnotePolicyValues,lr as forcedColorAdjustValues,Mr as gapRuleBreakValues,Pn as gapRuleInsetValues,Bt as gapRuleVisibilityItemsValues,hr as gapRuleWidthValues,Rr as gapValues,Rn as globalKeywords,Qt as gridAreaValues,Zn as gridAutoFlowValues,Xr as gridAutoRowsColumnsValues,an as gridColRowStartAndEnd,gn as gridColRowStartOrEnd,xr as gridTemplateRowsColumnsValues,rr as hyphenateLimitLastValues,On as hyphenateLimitLinesValues,Sn as hyphensValues,Pt as imageRenderingValues,ni as imageResolutionValues,bi as initialLetterAlignValues,Kt as initialLetterWrapValues,mi as inlineSizingValues,Ke as insetValues,v as interactivityValues,ci as interestDelayValues,Qe as interpolateSizeValues,k as isolationValues,C as justifyContentValues,Te as justifyItemsValues,Gn as justifySelfValues,s as leadingTrimValues,Bn as letterSpacingValues,he as lineBreakValues,be as lineClampValues,Ae as lineFitEdgeValues,P as lineGridValues,Y as lineHeightValues,ue as lineSnapValues,Be as lineWidthKeywords,Ti as listStylePositionValues,f as listStyleTypeValues,ct as magnitudeKeywords,W as marginValues,rt as markerSideValues,pt as markerValues,z as maskClipValues,ae as maskCompositeValues,Er as maskImageValues,ee as maskModeValues,Ct as maskOriginValues,vt as maskRadialShapeValues,Ot as maskRepeatValues,Fe as maskSizeValues,n as maskTypeValues,dn as minIntrinsicSizingValues,Gr as mixBlendModeValues,ur as multiplerKeywords,Nr as multiplierKeywords,Fn as navValues,Vt as neutralColorValues,gr as neutralColors,zr as objectFitValues,$t as objectPositionValues,Qn as orderValues,Zr as outlineStyleValues,on as outlineWidthValues,_n as overflowAnchorValues,Sr as overflowValues,ir as overflowWrapValues,kn as overscrollBehaviorValues,Cn as paddingValues,Ft as pageValues,ri as paintOrderValues,xi as perspectiveValues,qt as placeContentValues,hi as placeItemsValues,qe as placeSelfValues,y as placementKeywords,li as pointerEventsValues,$e as positionAreaValues,A as positionTryOrderValues,w as positionTryValues,Ee as positionValues,Kn as positionVisibilityValues,c as primaryColorValues,Vn as primaryColors,ge as printColorAdjustValues,xe as quotesValues,je as radiusFactorValues,F as readingFlowValues,X as resizeValues,de as rotateValues,Ve as rubyAlignValues,Ei as rubyMergeValues,p as rubyOverhangValues,lt as rubyPositionValues,G as ruleOverlapValues,it as runningValues,mt as scaleValues,B as scrollBehaviorValues,oe as scrollInitialTargetValues,Dr as scrollMarkerGroupValues,te as scrollSnapAlignValues,wt as scrollSnapStopValues,yt as scrollSnapStrictnessValues,kt as scrollSnapTypeValues,Ie as scrollTargetGroupValues,r as shapeInsideValues,ln as shapeOutsideValues,Ur as sizingValues,cr as spatialNavigationActionValues,jr as spatialNavigationContainValues,Nn as spatialNavigationFunctionValues,zt as speakValues,mr as speechBoundaryValues,Lr as stringSetValues,Zt as strokeArrayValues,Xn as strokeLinecapValues,Yr as strokeLinejoinValues,rn as strokeOffsetValues,hn as strokeWidthValues,br as tabSizeValues,nr as tableLayoutValues,Dn as textAlignAllValues,xn as textAlignLastValues,Nt as textAlignValues,ti as textAutospaceValues,yi as textBoxEdgeValues,Gt as textBoxTrimValues,pi as textColorValues,Ge as textCombineUprightValues,_ as textDecorationSkipBoxValues,si as textDecorationSkipInkValues,Ze as textDecorationSkipSelfValues,O as textDecorationSkipSpacesValues,S as textEmphasisPositionValues,we as textEmphasisSkipValues,Wn as textEmphasisStyleValues,o as textGroupAlignValues,zn as textIndentValues,me as textJustifyValues,ye as textOrientationValues,ke as textOverflowValues,N as textRenderingValues,J as textSpacingTrimValues,le as textSpacingValues,ze as textTransformValues,wi as textUnderlinePositionValues,d as textWrapModeValues,st as textWrapStyleValues,U as textWrapValues,nt as timelineAxisValues,ft as touchActionValues,R as transformBoxValues,ie as transformOriginValues,Tr as transformStyleValues,$ as transformValues,St as transitionBehaviorValues,_t as transitionPropertyValues,Dt as translateValues,Pe as underlineOffsetValues,t as underlinePositionValues,cn as unicodeBidiValues,Hr as userSelectValues,sr as verticalAlignValues,Ar as viewTransitionGroupValues,Mn as viewTransitionScopeValues,Rt as visibilityValues,pr as voiceBalanceValues,Ir as voiceDurationValues,Xt as voiceFamilyValues,Yn as voicePitchRangeValues,Jr as voiceRateValues,nn as voiceStressValues,mn as voiceVolumeValues,yr as whiteSpaceCollapseValues,tr as whiteSpaceTrimValues,En as whiteSpaceValues,bn as willChangeValues,Mt as windowDragValues,ei as wordBreakValues,vi as wordSpaceTransformValues,Wt as wordSpacingValues,fi as wrapBeforeAfterValues,We as wrapFlowValues,g as wrapInsideValues,oi as wrapThroughValues,Xe as writingModeValues,D as zIndexValues};
1
+ import{$ as e,$i as t,$n as n,$r as r,$t as i,A as a,Aa as o,Ai as s,An as c,Ar as l,At as u,B as d,Bi as f,Bn as p,Br as m,Bt as h,C as g,Ca as _,Ci as v,Cn as y,Cr as b,Ct as x,D as S,Di as C,Dn as w,Dr as T,Dt as E,E as D,Ei as O,En as k,Er as A,Et as j,F as M,Fi as N,Fn as P,Fr as F,Ft as I,G as L,Gi as R,Gn as z,Gr as B,Gt as V,H,Hi as U,Hn as W,Hr as G,Ht as K,I as q,Ii as J,In as Y,Ir as X,It as Z,J as Q,Ji as $,Jn as ee,Jr as te,Jt as ne,K as re,Ki as ie,Kn as ae,Kr as oe,Kt as se,L as ce,Li as le,Ln as ue,Lr as de,Lt as fe,M as pe,Mi as me,Mn as he,Mr as ge,Mt as _e,N as ve,Ni as ye,Nn as be,Nr as xe,Nt as Se,O as Ce,Oi as we,On as Te,Or as Ee,Ot as De,P as Oe,Pi as ke,Pn as Ae,Pr as je,Pt as Me,Q as Ne,Qi as Pe,Qn as Fe,Qr as Ie,Qt as Le,R as Re,Ri as ze,Rn as Be,Rr as Ve,Rt as He,S as Ue,Sa as We,Si as Ge,Sn as Ke,Sr as qe,St as Je,T as Ye,Ta as Xe,Ti as Ze,Tn as Qe,Tr as $e,Tt as et,U as tt,Ui as nt,Un as rt,Ur as it,Ut as at,V as ot,Vi as st,Vn as ct,Vr as lt,Vt as ut,W as dt,Wi as ft,Wn as pt,Wr as mt,Wt as ht,X as gt,Xi as _t,Xn as vt,Xr as yt,Xt as bt,Y as xt,Yi as St,Yn as Ct,Yr as wt,Yt as Tt,Z as Et,Zi as Dt,Zn as Ot,Zr as kt,Zt as At,_ as jt,_a as Mt,_i as Nt,_n as Pt,_r as Ft,_t as It,a as Lt,aa as Rt,ai as zt,an as Bt,ar as Vt,at as Ht,b as Ut,ba as Wt,bi as Gt,bn as Kt,br as qt,bt as Jt,c as Yt,ca as Xt,ci as Zt,cn as Qt,cr as $t,ct as en,d as tn,da as nn,di as rn,dn as an,dr as on,dt as sn,ea as cn,ei as ln,en as un,er as dn,et as fn,f as pn,fa as mn,fi as hn,fn as gn,fr as _n,ft as vn,g as yn,ga as bn,gi as xn,gn as Sn,gr as Cn,gt as wn,h as Tn,ha as En,hi as Dn,hn as On,hr as kn,ht as An,i as jn,ia as Mn,ii as Nn,in as Pn,ir as Fn,it as In,j as Ln,ji as Rn,jn as zn,jr as Bn,jt as Vn,k as Hn,ki as Un,kn as Wn,kr as Gn,kt as Kn,l as qn,la as Jn,li as Yn,ln as Xn,lr as Zn,lt as Qn,m as $n,ma as er,mi as tr,mn as nr,mr as rr,mt as ir,n as ar,na as or,ni as sr,nn as cr,nr as lr,nt as ur,o as dr,oa as fr,oi as pr,on as mr,or as hr,ot as gr,p as _r,pa as vr,pi as yr,pn as br,pr as xr,pt as Sr,q as Cr,qi as wr,qn as Tr,qr as Er,qt as Dr,r as Or,ra as kr,ri as Ar,rn as jr,rr as Mr,rt as Nr,s as Pr,sa as Fr,si as Ir,sn as Lr,sr as Rr,st as zr,t as Br,ta as Vr,ti as Hr,tn as Ur,tr as Wr,tt as Gr,u as Kr,ua as qr,ui as Jr,un as Yr,ur as Xr,ut as Zr,v as Qr,va as $r,vi as ei,vn as ti,vr as ni,vt as ri,w as ii,wa as ai,wi as oi,wn as si,wr as ci,wt as li,x as ui,xa as di,xi as fi,xn as pi,xr as mi,xt as hi,y as gi,ya as _i,yi as vi,yn as yi,yr as bi,yt as xi,z as Si,zi as Ci,zn as wi,zr as Ti,zt as Ei}from"./constants-BjVQ82W3.js";export{Br as alignContentValues,ar as alignItemsValues,Or as alignSelfValues,jn as alignmentBaselineValues,Lt as anchorScopeValues,dr as animationCompositionValues,Pr as animationValues,Yt as appearanceValues,qn as arabicnumKeywords,Kr as aspectValues,tn as backfaceVisibilityValues,pn as backgroundAttachmentValues,_r as backgroundBlendModeValues,$n as backgroundClipValues,Tn as backgroundColorValues,yn as backgroundImageValues,jt as backgroundOriginValues,Qr as backgroundPositionValues,gi as backgroundRepeatValues,Ut as backgroundSizeValues,ui as baselineShiftValues,Ue as baselineSourceValues,g as blockStepAlignValues,ii as blockStepInsertValues,Ye as blockStepRoundValues,D as blockStepSizeValues,S as blurValues,Ce as bookmarkLevelValues,Hn as bookmarkStateValues,a as borderBoundaryValues,Ln as borderCollapseValues,pe as borderColorValues,ve as borderImageRepeatValues,Oe as borderRadiusValues,M as borderShapeValues,q as borderSpacingValues,ce as borderStyleValues,Re as borderWidthValues,Si as boxDecorationValues,d as boxShadowSizeValues,ot as boxSizingValues,H as boxSnapValues,tt as breakAfterValues,dt as breakBeforeValues,L as breakInsideValues,re as breakpointKeywords,Cr as captionSideValues,Q as caretAnimationValues,xt as caretShapeValues,gt as clearValues,Et as colorInterpolationFiltersValues,Ne as colorSchemeValues,e as columnCountValues,fn as columnFillValues,Gr as columnHeightValues,ur as columnSpanValues,Nr as columnWidthValues,In as columnWrapValues,Ht as containValues,gr as containerKeywords,zr as containerTypeValues,en as contentValues,Qn as contentVisibilityValues,Zr as cornerShapeValues,sn as cueValues,vn as cursorValues,Sr as decorationLineValues,ir as decorationStyleValues,An as decorationThicknessValues,wn as directionValues,It as displayValues,ri as dominantBaselineValues,xi as dropShadowValues,Jt as dynamicRangeLimitValues,hi as easingKeywords,Je as emptyCellsValues,x as fieldSizingValues,li as fillRuleValues,et as filterValues,j as flexBasisValues,E as flexDirectionValues,De as flexGrowValues,Kn as flexShrinkValues,u as flexValues,Vn as flexWrapValues,_e as floatValues,Se as fontFamilyKeywords,Me as fontFamilyValues,I as fontKerningValues,Z as fontNumericValues,fe as fontOpticalSizingValues,He as fontPaletteValues,Ei as fontSizeKeywords,h as fontSizeValues,ut as fontSmoothingValues,K as fontStretchValues,at as fontStyleValues,ht as fontSynthesisBooleanValues,V as fontSynthesisStyleValues,se as fontVariantAlternatesValues,Dr as fontVariantCapsValues,ne as fontVariantEastAsianValues,Tt as fontVariantEmojiValues,bt as fontVariantLigaturesValues,At as fontVariantPositionValues,Le as fontWeightKeywords,i as fontWeightValues,un as footnoteDisplayValues,Ur as footnotePolicyValues,cr as forcedColorAdjustValues,jr as gapRuleBreakValues,Pn as gapRuleInsetValues,Bt as gapRuleVisibilityItemsValues,mr as gapRuleWidthValues,Lr as gapValues,o as globalKeywords,Qt as gridAreaValues,Xn as gridAutoFlowValues,Yr as gridAutoRowsColumnsValues,an as gridColRowStartAndEnd,gn as gridColRowStartOrEnd,br as gridTemplateRowsColumnsValues,nr as hyphenateLimitLastValues,On as hyphenateLimitLinesValues,Sn as hyphensValues,Pt as imageRenderingValues,ti as imageResolutionValues,yi as initialLetterAlignValues,Kt as initialLetterWrapValues,pi as inlineSizingValues,Ke as insetValues,y as interactivityValues,si as interestDelayValues,Qe as interpolateSizeValues,k as isolationValues,w as justifyContentValues,Te as justifyItemsValues,Wn as justifySelfValues,c as leadingTrimValues,zn as letterSpacingValues,he as lineBreakValues,be as lineClampValues,Ae as lineFitEdgeValues,P as lineGridValues,Y as lineHeightValues,ue as lineSnapValues,Be as lineWidthKeywords,wi as listStylePositionValues,p as listStyleTypeValues,ct as magnitudeKeywords,W as marginValues,rt as markerSideValues,pt as markerValues,z as maskClipValues,ae as maskCompositeValues,Tr as maskImageValues,ee as maskModeValues,Ct as maskOriginValues,vt as maskRadialShapeValues,Ot as maskRepeatValues,Fe as maskSizeValues,n as maskTypeValues,dn as minIntrinsicSizingValues,Wr as mixBlendModeValues,lr as multiplierKeywords,Mr as navValues,Fn as neutralColorValues,Vt as neutralColors,hr as objectFitValues,Rr as objectPositionValues,$t as orderValues,Zn as outlineStyleValues,Xr as outlineWidthValues,on as overflowAnchorValues,_n as overflowValues,xr as overflowWrapValues,rr as overscrollBehaviorValues,kn as paddingValues,Cn as pageValues,Ft as paintOrderValues,ni as perspectiveValues,bi as placeContentValues,qt as placeItemsValues,mi as placeSelfValues,qe as placementKeywords,b as pointerEventsValues,ci as positionAreaValues,$e as positionTryOrderValues,A as positionTryValues,T as positionValues,Ee as positionVisibilityValues,Gn as primaryColorValues,l as primaryColors,Bn as printColorAdjustValues,ge as quotesValues,xe as radiusFactorValues,je as readingFlowValues,F as resizeValues,X as rotateValues,de as rubyAlignValues,Ve as rubyMergeValues,Ti as rubyOverhangValues,m as rubyPositionValues,lt as ruleOverlapValues,G as runningValues,it as scaleValues,mt as scrollBehaviorValues,B as scrollInitialTargetValues,oe as scrollMarkerGroupValues,Er as scrollSnapAlignValues,te as scrollSnapStopValues,wt as scrollSnapStrictnessValues,yt as scrollSnapTypeValues,kt as scrollTargetGroupValues,Ie as shapeInsideValues,r as shapeOutsideValues,ln as sizingValues,Hr as spatialNavigationActionValues,sr as spatialNavigationContainValues,Ar as spatialNavigationFunctionValues,Nn as speakValues,zt as speechBoundaryValues,pr as stringSetValues,Ir as strokeArrayValues,Zt as strokeLinecapValues,Yn as strokeLinejoinValues,Jr as strokeOffsetValues,rn as strokeWidthValues,hn as tabSizeValues,yr as tableLayoutValues,tr as textAlignAllValues,Dn as textAlignLastValues,xn as textAlignValues,Nt as textAutospaceValues,ei as textBoxEdgeValues,vi as textBoxTrimValues,Gt as textColorValues,fi as textCombineUprightValues,Ge as textDecorationSkipBoxValues,v as textDecorationSkipInkValues,oi as textDecorationSkipSelfValues,Ze as textDecorationSkipSpacesValues,O as textEmphasisPositionValues,C as textEmphasisSkipValues,we as textEmphasisStyleValues,Un as textGroupAlignValues,s as textIndentValues,Rn as textJustifyValues,me as textOrientationValues,ye as textOverflowValues,ke as textRenderingValues,N as textSpacingTrimValues,J as textSpacingValues,le as textTransformValues,ze as textUnderlinePositionValues,Ci as textWrapModeValues,f as textWrapStyleValues,st as textWrapValues,U as timelineAxisValues,nt as touchActionValues,ft as transformBoxValues,R as transformOriginValues,ie as transformStyleValues,wr as transformValues,$ as transitionBehaviorValues,St as transitionPropertyValues,_t as translateValues,Dt as underlineOffsetValues,Pe as underlinePositionValues,t as unicodeBidiValues,cn as userSelectValues,Vr as verticalAlignValues,or as viewTransitionGroupValues,kr as viewTransitionScopeValues,Mn as visibilityValues,Rt as voiceBalanceValues,fr as voiceDurationValues,Fr as voiceFamilyValues,Xt as voicePitchRangeValues,Jn as voiceRateValues,qr as voiceStressValues,nn as voiceVolumeValues,mn as whiteSpaceCollapseValues,vr as whiteSpaceTrimValues,er as whiteSpaceValues,En as willChangeValues,bn as windowDragValues,Mt as wordBreakValues,$r as wordSpaceTransformValues,_i as wordSpacingValues,Wt as wrapBeforeAfterValues,di as wrapFlowValues,We as wrapInsideValues,_ as wrapThroughValues,ai as writingModeValues,Xe as zIndexValues};
package/dist/index.d.ts CHANGED
@@ -64,7 +64,6 @@ declare function transformerCompileClass(options?: CompileClassOptions): SourceC
64
64
  type ColorPalette = Record<string, Record<string, string>>;
65
65
  /** Semantic color roles emitted as `--color-<role>` variables. */
66
66
  type SemanticColors = Record<string, string | number>;
67
- type ColorRole = "primary" | "neutral" | "focused" | "success" | "warning" | "failure" | "general";
68
67
  interface ThemeAnimation {
69
68
  keyframes?: Record<string, string>;
70
69
  durations?: Record<string, string>;
@@ -77,8 +76,6 @@ interface Theme {
77
76
  colors?: ColorPalette;
78
77
  /** Application semantic colors. Presets supply an empty namespace. */
79
78
  semanticColors?: SemanticColors;
80
- /** Physical palettes available through each data-css-<role> attribute. Lists replace per role. */
81
- rolePalettes?: Partial<Record<ColorRole, readonly string[]>>;
82
79
  breakpoint?: Record<string, string>;
83
80
  container?: Record<string, string>;
84
81
  spacing?: Record<string, string>;
@@ -103,7 +100,7 @@ interface Theme {
103
100
  /**
104
101
  * Non-default mode color overrides. `theme.colors` and
105
102
  * `theme.semanticColors` are the default mode; each entry here (e.g. `dark`)
106
- * contributes to the complete mapping for its `data-css-mode` region (or a
103
+ * contributes to the complete mapping for its `data-css-scheme` on html (or a
107
104
  * configured `dark`/`light` alias). Only declare values that differ. OS
108
105
  * preference uses `@os-dark` / `@os-light`.
109
106
  */
@@ -113,19 +110,19 @@ interface Theme {
113
110
  }>;
114
111
  /** The mode whose palette is `theme.colors` (need not appear in `modes`). @default "light" */
115
112
  defaultMode?: string;
116
- /** Additional declaration points inside every mode/palette region; roots always receive the complete mapping. */
113
+ /** Additional declaration points that re-declare the complete theme selected on html. */
117
114
  preflightRoot?: Arrayable<string>;
118
115
  /** Additional CSS custom properties merged after the default theme-derived preflight variables */
119
116
  preflightBase?: Record<string, string | number>;
120
117
  }
121
118
  type CustomRule = Rule<Theme>;
122
- /** Optional region-marker aliases for `dark` / `light`; canonical `data-css-mode` takes precedence. */
119
+ /** Optional html selector aliases for `dark` / `light`; canonical `data-css-scheme` takes precedence. */
123
120
  interface ModeSelectors {
124
121
  dark?: string;
125
122
  light?: string;
126
123
  }
127
124
  interface PresetStandardOptions extends PresetOptions {
128
- /** Add `dark` / `light` region aliases, e.g. `{ dark: ".night" }`; no aliases are enabled by default. */
125
+ /** Add `dark` / `light` html aliases, e.g. `{ dark: ".night" }`; no aliases are enabled by default. */
129
126
  modeSelectors?: ModeSelectors;
130
127
  /**
131
128
  * Container sizes for the `@container-*` conditions, merged over the default