@almadar/ui 5.122.1 → 5.122.2
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/package.json +1 -1
- package/tailwind-preset.cjs +9 -5
package/package.json
CHANGED
package/tailwind-preset.cjs
CHANGED
|
@@ -353,9 +353,11 @@ module.exports = {
|
|
|
353
353
|
bold: 'var(--font-weight-bold, 600)',
|
|
354
354
|
},
|
|
355
355
|
transitionDuration: {
|
|
356
|
-
//
|
|
357
|
-
//
|
|
358
|
-
//
|
|
356
|
+
// DEFAULT drives every bare `transition-*` utility (transition-all /
|
|
357
|
+
// transition-colors / ...) so its duration is theme-token-driven too —
|
|
358
|
+
// not Tailwind's hardcoded 150ms. Existing aliases resolve through the
|
|
359
|
+
// Motion-axis tokens with the legacy `--transition-*` as fallback.
|
|
360
|
+
DEFAULT: 'var(--duration-fast, var(--transition-fast, 150ms))',
|
|
359
361
|
fast: 'var(--duration-fast, var(--transition-fast, 150ms))',
|
|
360
362
|
normal: 'var(--duration-normal, var(--transition-normal, 250ms))',
|
|
361
363
|
slow: 'var(--duration-slow, var(--transition-slow, 400ms))',
|
|
@@ -363,8 +365,10 @@ module.exports = {
|
|
|
363
365
|
dramatic: 'var(--duration-dramatic, 600ms)',
|
|
364
366
|
},
|
|
365
367
|
transitionTimingFunction: {
|
|
366
|
-
//
|
|
367
|
-
//
|
|
368
|
+
// DEFAULT drives every bare `transition-*` utility so its easing is
|
|
369
|
+
// theme-token-driven — not Tailwind's hardcoded cubic-bezier. `standard`
|
|
370
|
+
// falls back to legacy `--transition-timing` for backward compat.
|
|
371
|
+
DEFAULT: 'var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
368
372
|
linear: 'var(--easing-linear, linear)',
|
|
369
373
|
standard: 'var(--easing-standard, var(--transition-timing, cubic-bezier(0.4, 0, 0.2, 1)))',
|
|
370
374
|
emphasized: 'var(--easing-emphasized, cubic-bezier(0.2, 0, 0, 1))',
|