@hattisar/design-tokens 0.3.8 → 0.3.9
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 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hattisar/design-tokens",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
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
|
@@ -254,11 +254,15 @@
|
|
|
254
254
|
--field-min-width: 260px;
|
|
255
255
|
/* For a control whose value is a word, not a sentence — a variant
|
|
256
256
|
name, a unit, a percentage — inside a line-item row. */
|
|
257
|
-
/* The
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
/* The label column on a vertical form, and how wide a control gets.
|
|
258
|
+
A control that stretches to the page is the thing that made these
|
|
259
|
+
forms read as a wall: an email box does not need 900px, and at
|
|
260
|
+
that width the eye has to travel back across empty space to find
|
|
261
|
+
the next label. Zoho holds both to a fixed, comfortable size and
|
|
262
|
+
lets the page be as wide as it likes. */
|
|
263
|
+
--form-label-width: 160px;
|
|
264
|
+
--form-control-width: 340px;
|
|
265
|
+
--form-control-width-wide: 520px;
|
|
262
266
|
--field-min-width-narrow: 140px;
|
|
263
267
|
|
|
264
268
|
--space-16: 64px;
|