mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
fix(design-system): fix styling regression from removing next/link (#168)
This commit is contained in:
parent
99952aa19f
commit
5e8876a90c
6 changed files with 28 additions and 24 deletions
|
@ -1,3 +1,4 @@
|
|||
import { Link as RouterLink } from '@reach/router';
|
||||
import { palette } from '@roleypoly/design-system/atoms/colors';
|
||||
import { transitions } from '@roleypoly/design-system/atoms/timings';
|
||||
import styled, { css } from 'styled-components';
|
||||
|
@ -106,7 +107,7 @@ export const Link = styled.a`
|
|||
}
|
||||
`;
|
||||
|
||||
export const CompletelyStylelessLink = styled.a`
|
||||
export const CompletelyStylelessLink = styled(RouterLink)`
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
:visited,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue