@biffo/design-tokens 0.432.0 → 0.434.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.
Files changed (3) hide show
  1. package/kit.css +6 -4
  2. package/package.json +1 -1
  3. package/tokens.css +7 -0
package/kit.css CHANGED
@@ -63,8 +63,9 @@
63
63
  }
64
64
 
65
65
  .biffo-btn-primary {
66
- background: var(--text);
67
- border-color: var(--text);
66
+ /* Portal parity: --action-primary is rgb(17,24,39), not --text. */
67
+ background: var(--action-primary);
68
+ border-color: var(--action-primary);
68
69
  color: var(--text-invert);
69
70
  }
70
71
 
@@ -74,8 +75,9 @@
74
75
 
75
76
  .biffo-btn-delete {
76
77
  background: var(--bg);
77
- border-color: var(--state-negative);
78
- color: var(--state-negative);
78
+ /* Portal parity: --action-destructive is rgb(190,18,60), not --state-negative. */
79
+ border-color: var(--action-destructive);
80
+ color: var(--action-destructive);
79
81
  }
80
82
 
81
83
  .biffo-btn-delete:hover:not(:disabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/design-tokens",
3
- "version": "0.432.0",
3
+ "version": "0.434.0",
4
4
  "description": "Biffo's design tokens — one definition of the platform's visual language, for the portal, sibling apps and plugin frontends.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/tokens.css CHANGED
@@ -88,4 +88,11 @@
88
88
  --state-caution-soft: #fdf6e6;
89
89
  --state-negative: #8a5a5a;
90
90
  --state-negative-soft: #fbeeee;
91
+
92
+ /*
93
+ * Action colours: the portal's button colours (Tailwind gray-900 and
94
+ * rose-700), so kit buttons compute the same RGB as the portal's.
95
+ */
96
+ --action-primary: #111827;
97
+ --action-destructive: #be123c;
91
98
  }