@hattisar/design-tokens 0.3.18 → 0.3.19
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/package.json +1 -1
- package/tokens.css +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hattisar/design-tokens",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
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
|
@@ -300,6 +300,15 @@
|
|
|
300
300
|
of a header row. Narrower than a control that owns its row, because
|
|
301
301
|
three of those do not fit and a date needs far less than 340px. */
|
|
302
302
|
--form-control-width-compact: 200px;
|
|
303
|
+
/* The label beside it. Fixed rather than sized to each label's own
|
|
304
|
+
text — "Order date", "Due date" and "Tax rate" all sit in this
|
|
305
|
+
position on different rows of the same header, and letting each
|
|
306
|
+
size itself put their inputs at three different starting points
|
|
307
|
+
down the card, the one thing --form-label-width above exists to
|
|
308
|
+
prevent for the row's first field. 120px is measured to the
|
|
309
|
+
longest label that lives here today, "Invoice date *" at ~97px,
|
|
310
|
+
with room to spare. */
|
|
311
|
+
--form-label-width-compact: 120px;
|
|
303
312
|
--form-control-width-wide: 520px;
|
|
304
313
|
--field-min-width-narrow: 140px;
|
|
305
314
|
|