@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/theme.d.mts CHANGED
@@ -387,6 +387,7 @@ declare const container: {
387
387
  readonly maxWidthDesktop: 1280;
388
388
  readonly paddingDesktop: 32;
389
389
  readonly paddingMobile: 16;
390
+ readonly shellRadius: 24;
390
391
  };
391
392
  declare const widths: {
392
393
  readonly xxs: 320;
package/dist/theme.d.ts CHANGED
@@ -387,6 +387,7 @@ declare const container: {
387
387
  readonly maxWidthDesktop: 1280;
388
388
  readonly paddingDesktop: 32;
389
389
  readonly paddingMobile: 16;
390
+ readonly shellRadius: 24;
390
391
  };
391
392
  declare const widths: {
392
393
  readonly xxs: 320;
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
- boxShadow: "inset 0 2px 4px 0 rgba(0,0,0,0.3)",
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,