@carbonid1/design-system 6.0.0 → 6.0.1
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
CHANGED
|
@@ -76,7 +76,11 @@ application components that must retain their own design-system styling.
|
|
|
76
76
|
- **Discrete elements** — rows/cards use `rounded-lg` with `space-y-1` gaps, never flat lists with hairline dividers
|
|
77
77
|
- **Selection** — `bg-primary/10` tint + `ring-1 ring-primary/20`, never border-left accents
|
|
78
78
|
- **Hover reveal** — action buttons use `opacity-0 group-hover:opacity-100 group-focus-within:opacity-100` with outer row `hover:bg-accent`. The `group-focus-within` is required — without it, keyboard users tab to an invisible button.
|
|
79
|
-
- **Metadata** —
|
|
79
|
+
- **Metadata** — use the quietest representation that preserves scanning. Reserve
|
|
80
|
+
badges/chips for concise categorical states, filters, or individually
|
|
81
|
+
interactive values; prefer secondary text, alignment, grouping, icons, or
|
|
82
|
+
restrained surface tone for routine facts. Do not expose an internal category
|
|
83
|
+
or repeat information merely because a `Badge` primitive exists.
|
|
80
84
|
- **Touch targets** — icon buttons `p-1.5` minimum, icons `w-4 h-4` minimum
|
|
81
85
|
- **Avatars** — only with real images, no letter/initial placeholders
|
|
82
86
|
|