@matteoaliano/forest-ui 0.8.8 → 0.8.9
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/dist/{chunk-I3T6PQLZ.mjs → chunk-2XQSGP7X.mjs} +10 -1
- package/dist/chunk-2XQSGP7X.mjs.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/theme.js +9 -0
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/package.json +1 -1
- package/skills/forest-alkemy-plus/SKILL.md +1 -1
- package/dist/chunk-I3T6PQLZ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
package/dist/theme.js
CHANGED
|
@@ -1053,7 +1053,16 @@ function buildComponents(tokens) {
|
|
|
1053
1053
|
"&:hover::before": {
|
|
1054
1054
|
top: "150%"
|
|
1055
1055
|
},
|
|
1056
|
+
// Press: collapse the raised top bevel back to a thin edge so the
|
|
1057
|
+
// surface visibly sinks — the button reads as pushed deeper into
|
|
1058
|
+
// the page. Animated by the shared border-width transition above.
|
|
1056
1059
|
"&:active": {
|
|
1060
|
+
// Snap the press faster than the 300ms hover flip so it feels
|
|
1061
|
+
// like a tactile click rather than a slow settle.
|
|
1062
|
+
transition: "border-width 120ms ease, border-radius 120ms ease, opacity 120ms ease",
|
|
1063
|
+
borderTopWidth: 1,
|
|
1064
|
+
borderTopLeftRadius: radius6.md,
|
|
1065
|
+
borderTopRightRadius: radius6.md,
|
|
1057
1066
|
opacity: 0.75
|
|
1058
1067
|
},
|
|
1059
1068
|
"@media (prefers-reduced-motion: reduce)": {
|