@matteoaliano/forest-ui 1.2.3 → 1.2.4
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-NXIZI6F7.mjs → chunk-JYITTRWG.mjs} +14 -3
- package/dist/chunk-JYITTRWG.mjs.map +1 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +165 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +153 -56
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +13 -2
- 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/skills/forest-alkemy-plus/references/components.md +1 -1
- package/skills/forest-alkemy-plus/references/patterns.md +2 -1
- package/dist/chunk-NXIZI6F7.mjs.map +0 -1
package/dist/theme.d.mts
CHANGED
package/dist/theme.d.ts
CHANGED
package/dist/theme.js
CHANGED
|
@@ -1148,7 +1148,13 @@ function buildComponents(tokens2) {
|
|
|
1148
1148
|
borderBottomLeftRadius: radius4.md,
|
|
1149
1149
|
borderBottomRightRadius: radius4.md,
|
|
1150
1150
|
opacity: 0.75,
|
|
1151
|
-
|
|
1151
|
+
// The pressed-in cue is carried by the flattened bevel (bottom
|
|
1152
|
+
// border 4px -> 1px) alone in light mode. On the dark-mode face
|
|
1153
|
+
// that geometry reads too faintly, so it keeps the inner shadow.
|
|
1154
|
+
boxShadow: "none",
|
|
1155
|
+
...theme.applyStyles("dark", {
|
|
1156
|
+
boxShadow: "inset 0 2px 4px 0 rgba(0,0,0,0.3)"
|
|
1157
|
+
}),
|
|
1152
1158
|
"&::before": { display: "none" },
|
|
1153
1159
|
// Stays pressed on hover — no bevel re-raise, no brightness lift.
|
|
1154
1160
|
"&:hover": {
|
|
@@ -3184,7 +3190,12 @@ var display = {
|
|
|
3184
3190
|
var container = {
|
|
3185
3191
|
maxWidthDesktop: 1280,
|
|
3186
3192
|
paddingDesktop: 32,
|
|
3187
|
-
paddingMobile: 16
|
|
3193
|
+
paddingMobile: 16,
|
|
3194
|
+
// Corner radius of the App Shell's content surface where it meets the
|
|
3195
|
+
// chrome. Deliberately a layout value rather than a step on the `radius`
|
|
3196
|
+
// scale: that scale governs components (and the sharper alkemy+ preset caps
|
|
3197
|
+
// it at 12), so a 24 sitting in it would misread as a component radius.
|
|
3198
|
+
shellRadius: 24
|
|
3188
3199
|
};
|
|
3189
3200
|
var widths = {
|
|
3190
3201
|
xxs: 320,
|