Sha256: f012359e28edf7e9f9788d75d3cf4516475b66dc2c65106e1f3697c0f5c67332
Contents?: true
Size: 797 Bytes
Versions: 2
Compression:
Stored size: 797 Bytes
Contents
@layer components { [data-coco][data-component="badge"] { @apply flex items-center whitespace-nowrap px-2 rounded-lg; width: min-content; .badge-icon { @apply mr-1; } &[data-size="sm"] { @apply badge-sm; } &[data-size="md"] { @apply badge-md; } &[data-theme="neutral-dark"] { @apply bg-background-dark-1 text-content-light-1; } &[data-theme="neutral-light"] { @apply bg-background-light-1 text-content-dark-1; } &[data-theme="neutral-muted"] { @apply bg-gray-300 text-content-dark-3; } &[data-theme="primary"] { @apply bg-background-primary text-content-light-1; } } } @layer utilities { .badge-sm { @apply py-1 label-sm; } .badge-md { @apply py-1 label-md; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coveragebook_components-0.15.0 | app/components/coco/indicators/badge/badge.css |
coveragebook_components-0.14.0 | app/components/coco/indicators/badge/badge.css |