@atelier-ui/styles 0.3.13 → 0.3.15
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/badge/atl-badge.css +1 -1
- package/package.json +1 -1
- package/tokens.css +18 -0
package/badge/atl-badge.css
CHANGED
package/package.json
CHANGED
package/tokens.css
CHANGED
|
@@ -168,6 +168,24 @@
|
|
|
168
168
|
--ui-type-row-sm: var(--ui-font-weight-normal) var(--ui-font-size-sm) /
|
|
169
169
|
var(--ui-line-height-tight) var(--ui-font-family);
|
|
170
170
|
|
|
171
|
+
/* The emphasis role (ADR-0162). SemiBold at sm, tight: the text of a small
|
|
172
|
+
* element that is stressed rather than read — a badge, a step marker, the
|
|
173
|
+
* current breadcrumb. Measured on BOTH sides before being added (ADR-0074):
|
|
174
|
+
*
|
|
175
|
+
* emphasis SemiBold 14 — 3 CSS rules (.atl-badge.size-md, .step-circle,
|
|
176
|
+
* .breadcrumb-current) and 15 Figma text nodes (AtlAvatar 2,
|
|
177
|
+
* AtlAvatarGroup 5, AtlBreadcrumbItem 1, AtlStep 4, AtlTh 3),
|
|
178
|
+
* all 125% leading.
|
|
179
|
+
*
|
|
180
|
+
* The xs sibling (SemiBold 12, tight) has NO role: only 2 clean CSS rules
|
|
181
|
+
* (table header cell, badge sm) — the other xs rules are mono, or inherit a
|
|
182
|
+
* leading that is not tight — so it misses the rule of three (ADR-0162).
|
|
183
|
+
* Letter-spacing and text-transform are not part of a role: badge and table
|
|
184
|
+
* header add their own.
|
|
185
|
+
*/
|
|
186
|
+
--ui-type-emphasis: var(--ui-font-weight-semibold) var(--ui-font-size-sm) /
|
|
187
|
+
var(--ui-line-height-tight) var(--ui-font-family);
|
|
188
|
+
|
|
171
189
|
/* ── Colours · light mode (default) ────────────────────────── */
|
|
172
190
|
|
|
173
191
|
/* Primary — Conciso deep teal */
|