@putdotio/design 1.2.0 → 1.3.0

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.
@@ -94,7 +94,7 @@
94
94
  --yellow-border: hsl(45, 67%, 67%);
95
95
  --yellow-border-hover: hsl(44, 58%, 56%);
96
96
  --yellow-solid-hover: hsl(45, 89%, 58%);
97
- --yellow-text-secondary: hsl(46, 100%, 29%);
97
+ --yellow-text-secondary: hsl(46, 100%, 27%);
98
98
  --yellow-text: hsl(43, 32%, 21%);
99
99
  --lime-3: hsl(85, 76.0%, 92.3%);
100
100
  --html-bg: hsl(0, 0%, 97.3%);
@@ -427,6 +427,16 @@ a {
427
427
  }
428
428
  a:hover { text-decoration-color: currentColor; }
429
429
 
430
+ /* -- Component-role aliases --------------------------------------- */
431
+ /* Button default + info variants — live aliases; the DTCG layer doesn't define these two. */
432
+ :root {
433
+ --button-default-bg: var(--component-bg);
434
+ --button-default-bg-hover: var(--component-bg-hover);
435
+ --button-default-fg: var(--text);
436
+ --button-info-bg: var(--solid);
437
+ --button-info-fg: var(--solid-foreground);
438
+ }
439
+
430
440
  /* -- Utility classes ---------------------------------------------- */
431
441
  .fg-1 { color: var(--text); }
432
442
  .fg-2 { color: var(--text-secondary); }
@@ -318,7 +318,7 @@
318
318
  },
319
319
  "textSecondary": {
320
320
  "$type": "color",
321
- "$value": "hsl(46, 100%, 29%)"
321
+ "$value": "hsl(46, 100%, 27%)"
322
322
  },
323
323
  "text": {
324
324
  "$type": "color",
@@ -2165,7 +2165,7 @@
2165
2165
  },
2166
2166
  "textSecondary": {
2167
2167
  "$type": "color",
2168
- "$value": "hsl(46, 100%, 29%)",
2168
+ "$value": "hsl(46, 100%, 27%)",
2169
2169
  "$extensions": {
2170
2170
  "putio": {
2171
2171
  "cssName": "yellow-text-secondary",
@@ -1439,8 +1439,8 @@
1439
1439
  "cssName": "--yellow-text-secondary",
1440
1440
  "type": "color",
1441
1441
  "mode": "light",
1442
- "value": "hsl(46, 100%, 29%)",
1443
- "originalValue": "hsl(46, 100%, 29%)"
1442
+ "value": "hsl(46, 100%, 27%)",
1443
+ "originalValue": "hsl(46, 100%, 27%)"
1444
1444
  },
1445
1445
  "color.yellow.light.text": {
1446
1446
  "cssName": "--yellow-text",
package/dist/tokens.js CHANGED
@@ -1441,8 +1441,8 @@ export const tokens = {
1441
1441
  "cssName": "--yellow-text-secondary",
1442
1442
  "type": "color",
1443
1443
  "mode": "light",
1444
- "value": "hsl(46, 100%, 29%)",
1445
- "originalValue": "hsl(46, 100%, 29%)"
1444
+ "value": "hsl(46, 100%, 27%)",
1445
+ "originalValue": "hsl(46, 100%, 27%)"
1446
1446
  },
1447
1447
  "color.yellow.light.text": {
1448
1448
  "cssName": "--yellow-text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putdotio/design",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Public put.io design tokens, brand assets, and design-system guidance.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -120,6 +120,16 @@ a {
120
120
  }
121
121
  a:hover { text-decoration-color: currentColor; }
122
122
 
123
+ /* -- Component-role aliases --------------------------------------- */
124
+ /* Button default + info variants — live aliases; the DTCG layer doesn't define these two. */
125
+ :root {
126
+ --button-default-bg: var(--component-bg);
127
+ --button-default-bg-hover: var(--component-bg-hover);
128
+ --button-default-fg: var(--text);
129
+ --button-info-bg: var(--solid);
130
+ --button-info-fg: var(--solid-foreground);
131
+ }
132
+
123
133
  /* -- Utility classes ---------------------------------------------- */
124
134
  .fg-1 { color: var(--text); }
125
135
  .fg-2 { color: var(--text-secondary); }
@@ -834,7 +834,7 @@
834
834
  },
835
835
  "textSecondary": {
836
836
  "$type": "color",
837
- "$value": "hsl(46, 100%, 29%)",
837
+ "$value": "hsl(46, 100%, 27%)",
838
838
  "$extensions": {
839
839
  "putio": {
840
840
  "cssName": "yellow-text-secondary",