@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.
- package/kit.css +6 -4
- package/package.json +1 -1
- package/tokens.css +7 -0
package/kit.css
CHANGED
|
@@ -63,8 +63,9 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.biffo-btn-primary {
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
78
|
-
color: var(--
|
|
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
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
|
}
|