Sha256: 3eef5b371b81efd9c627ab8cb42d08ba912c3f640b69e209163eef11106f537b
Contents?: true
Size: 1.53 KB
Versions: 30
Compression:
Stored size: 1.53 KB
Contents
@layer components { [data-coco].coco-link { @apply inline-flex items-center; &.with-icon { > [data-component="icon"] { @apply order-1 mr-[0.4em]; } .link-text { @apply order-2; } &[data-icon-position="end"] { .link-text { @apply order-1 mr-[0.4em]; } [data-component="icon"] { @apply order-2 mr-0; } } } &[data-theme] { @apply no-underline hover:underline; } &[data-underline="true"] { @apply underline; } &[data-underline="false"] { @apply no-underline; } &[data-theme="primary"] { @apply link-primary; } &[data-theme="positive"] { @apply link-positive; } &[data-theme="negative"] { @apply link-negative; } &[data-theme="warning"] { @apply link-warning; } &[data-theme="info"] { @apply link-info; } &[data-theme="neutral-dark"] { @apply link-neutral-dark; } &[data-theme="neutral-light"] { @apply link-neutral-light; } } } @layer utilities { .link-primary, .link-positive { @apply text-content-primary active:text-green-700; } .link-negative { @apply text-content-negative active:text-red-800; } .link-warning { @apply text-content-warning active:text-amber-800; } .link-info { @apply text-content-info active:text-info-800; } .link-neutral-dark { @apply text-content-dark-1; } .link-neutral-light { @apply text-content-light-1; } }
Version data entries
30 entries across 30 versions & 1 rubygems