Sha256: 51ab0318c6e6d3360c04e476fd9935107e6a8d9a6cbb788ae80d988a67bafef6
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
/* Links */ .Link { color: var(--color-accent-fg); &:hover { text-decoration: underline; cursor: pointer; } &:focus { text-decoration: underline; } &:focus, &:focus-visible { outline-offset: 0; } } .Link--primary { color: var(--color-fg-default) !important; &:hover { color: var(--color-accent-fg) !important; } } .Link--secondary { color: var(--color-fg-muted) !important; &:hover { color: var(--color-accent-fg) !important; } } .Link--muted { color: var(--color-fg-muted) !important; &:hover { color: var(--color-accent-fg) !important; text-decoration: none; } } /* Set the link color only on hover Useful when you want only part of a link to turn blue on hover */ .Link--onHover { &:hover { color: var(--color-accent-fg) !important; text-decoration: underline; cursor: pointer; } } /* When using a color utility class inside of a link class color should change with link on hover. */ .Link--secondary, .Link--primary, .Link--muted { &:hover [class*='color-fg'] { color: inherit !important; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
primer_view_components-0.4.0 | app/components/primer/beta/link.pcss |