@hattisar/design-tokens 0.3.29 → 0.3.30
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 +6 -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.30",
|
|
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
|
@@ -1853,6 +1853,12 @@ a.card:hover {
|
|
|
1853
1853
|
--ui-tint-skeleton: 9%;
|
|
1854
1854
|
--ui-wash: 14%;
|
|
1855
1855
|
/* Control and row sizes. */
|
|
1856
|
+
/* One button for every app that reads this tier: a rounded rectangle that matches the fields beside it, a
|
|
1857
|
+
32px target (the height of a field), medium-weight type. Apps map their own --button-* onto these. */
|
|
1858
|
+
--ui-btn-height: 32px;
|
|
1859
|
+
--ui-btn-radius: var(--radius-sm);
|
|
1860
|
+
--ui-btn-px: var(--space-4);
|
|
1861
|
+
--ui-btn-weight: var(--font-weight-medium);
|
|
1856
1862
|
--ui-ctl: 32px;
|
|
1857
1863
|
--ui-ctl-sm: 28px;
|
|
1858
1864
|
--ui-hit: 40px;
|