Promote pkg-card pattern to ASW component #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Origin
The
data-card="pkg"pattern from vigilio/garden (originally octopus-library.html, session 111). Color-coded category cards with tinted pills, tags, and relationship links.CSS pattern
[data-card="pkg"]— card with left border accent[data-card="pkg"][data-category="X"]— category determines border color[data-card-cat]— tinted pill viacolor-mix(in srgb, var(--color) 15%, transparent)[data-card-tags]— flex-wrapped tag row[data-card-reaches]— relationship text with top borderCurrently lives in garden.css. Should move to ASW components layer (05-components.css) as a first-class card variant.
Reference
Promoted the
pkg-cardpattern to05-components.cssin the ASW repository, and removed the corresponding CSS fromvigilio/garden/static/css/garden.css. The styles have been mapped to ASW's design tokens where appropriate.