@hattisar/design-tokens 0.3.30 → 0.3.31

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tokens.css +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hattisar/design-tokens",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "Shared design tokens (colors, type, radius, spacing, motion) and base primitives (reset, buttons, inputs, cards, modals, auth shell) for every Hattisar frontend.",
5
5
  "main": "tokens.css",
6
6
  "files": [
package/tokens.css CHANGED
@@ -375,6 +375,15 @@
375
375
  --image-picker-border: 1px dashed var(--color-border);
376
376
  --image-picker-overlay: color-mix(in srgb, var(--color-background-card) 55%, transparent);
377
377
 
378
+ /* The measurement row: three sizes and their unit, a weight and its
379
+ unit. Shared by a package in Calculate rates and the item form's
380
+ Shipping card, so the unit pickers and the gaps between the groups
381
+ are one width wherever a size or a weight is typed. */
382
+ --measure-unit-width: 84px;
383
+ --measure-weight-width: 100px;
384
+ --measure-field-gap: var(--space-2);
385
+ --measure-group-gap: var(--space-6);
386
+
378
387
  /* Depth, deliberately restrained. These were all `none`, which left
379
388
  every surface separated by border alone — correct, legible, and
380
389
  completely flat: a card, a dropdown and a modal all sat on the page
@@ -642,6 +651,12 @@
642
651
  after the first pass shipped. */
643
652
  --page-width-wide: 1680px;
644
653
 
654
+ /* A form that carries a table of item lines (adjustments, transfers, builds, purchase and sales orders). Wider
655
+ than a plain form so the table does not scroll sideways on a laptop screen, and narrower than a list page so
656
+ the numbers stay near their column headers on an ultrawide one. Every card on such a form is this wide,
657
+ not just the table, so their edges line up. */
658
+ --page-width-lines: 1296px;
659
+
645
660
  color-scheme: light dark;
646
661
  }
647
662