@hattisar/design-tokens 0.3.12 → 0.3.13

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 +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hattisar/design-tokens",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
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
@@ -277,7 +277,7 @@
277
277
  A control that stretches to the page is the thing that made these
278
278
  forms read as a wall: an email box does not need 900px, and at
279
279
  that width the eye has to travel back across empty space to find
280
- the next label. Zoho holds both to a fixed, comfortable size and
280
+ the next label. Both are held to a fixed, comfortable size and
281
281
  lets the page be as wide as it likes. */
282
282
  --form-label-width: 160px;
283
283
  --form-control-width: 340px;
@@ -353,7 +353,7 @@
353
353
  --sidebar-height: calc(100vh - var(--header-height));
354
354
 
355
355
  /* Two widths, because a page is one of two things.
356
- Measured against Shopify at 1920: their product *list* runs
356
+ Measured against a storefront admin at 1920: its product *list* runs
357
357
  256→1888, effectively the full area, and their product *form* runs
358
358
  605→1554 — 950px, centred, with 365px of gap either side. A table
359
359
  wants every pixel; a form wants a column you can read across
@@ -365,7 +365,7 @@
365
365
  right edge moves between pages *and* so does the amount of empty
366
366
  space, so the app reads as if it cannot decide how wide it is.
367
367
 
368
- --page-width-content is 1152 rather than Shopify's 950 for a
368
+ --page-width-content is 1152 rather than the 950 measured there,
369
369
  reason that is ours and not theirs: their product form has no
370
370
  line-item grid and every one of our documents does. A sales order
371
371
  at 950 would scroll its item table sideways on every visit, and
@@ -1029,7 +1029,7 @@ input[type="date"]::-webkit-calendar-picker-indicator:hover {
1029
1029
  /* A required field says so on its label, in the red this app already
1030
1030
  uses for things that are wrong or missing.
1031
1031
  Asked for: "use our existing red for required field title" — the
1032
- same convention Zoho uses, where a required label is red and the
1032
+ usual convention, where a required label is red and the
1033
1033
  optional ones are not.
1034
1034
 
1035
1035
  Written as `:has()` rather than a prop on forty forms: the label
@@ -1051,7 +1051,7 @@ input[type="date"]::-webkit-calendar-picker-indicator:hover {
1051
1051
  * difference between one red label on a form and all of them.
1052
1052
  */
1053
1053
  /*
1054
- * And a star after the label text, the way Zoho marks a required
1054
+ * And a star after the label text, the usual way to mark a required
1055
1055
  * field.
1056
1056
  *
1057
1057
  * Harder than it looks, because the label's text is a bare text node:
@@ -1330,7 +1330,7 @@ input[type="radio"] {
1330
1330
  the thing the old note actually wanted. The page title moves with
1331
1331
  it, so the two stay aligned.
1332
1332
 
1333
- Tables are untouched and stay full width, which is what Shopify does
1333
+ Tables are untouched and stay full width, which is what those do
1334
1334
  and what a table wants. */
1335
1335
  .record-form-layout > form,
1336
1336
  .record-form-layout.medium-form-layout > form,