UNPKG

v8-ui-atoms

Version:

A library of common base components for building ui

19 lines (18 loc) 1.03 kB
import styled from 'styled-components'; export const AnchorNoStyle = styled.a ` color: ${({ theme, noStyles }) => noStyles ? 'inherit' : theme.typography.links.static.color}; text-decoration: ${({ theme, noStyles }) => noStyles ? 'none' : theme.typography.links.static.textDecoration}; &:hover { color: ${({ theme, noStyles }) => noStyles ? 'inherit' : theme.typography.links.hover.color}; text-decoration: ${({ theme, noStyles }) => noStyles ? 'none' : theme.typography.links.hover.textDecoration}; } &:active { color: ${({ theme, noStyles }) => noStyles ? 'inherit' : theme.typography.links.clicked.color}; text-decoration: ${({ theme, noStyles }) => noStyles ? 'none' : theme.typography.links.clicked.textDecoration}; } &:visited { color: ${({ theme, noStyles }) => noStyles ? 'inherit' : theme.typography.links.visited.color}; text-decoration: ${({ theme, noStyles }) => noStyles ? 'none' : theme.typography.links.visited.textDecoration}; } `; //# sourceMappingURL=Link.styles.js.map