Created
May 29, 2019 08:29
-
-
Save joake/81b21d4c0e6fcda40b0c61ad118e6bb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { } from 'react'; | |
import { Link } from 'vev'; | |
export default function({ link, linkText }: Props) { | |
return ( | |
<Link to={link} className="fill">{linkText || 'Open link'}</Link> | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<LinkField name="link" default="" /> | |
<TextField name="linkText" default="Open Link" /> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:host{ | |
} | |
a { | |
display: vev(flex); | |
flex-direction: vev(row); | |
align-items: vev(center); | |
justify-content: vev(center); | |
text-decoration: none; | |
color: vev($bg3); | |
background: vev($primary4); | |
border: vev(1px solid $primary4); | |
border-radius: vev(25px); | |
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1); | |
font-family: vev(); | |
font-size: vev(18px); | |
font-weight: vev(normal); | |
line-height: vev(); | |
letter-spacing: vev(); | |
word-spacing: vev(); | |
text-transform: vev(); | |
box-shadow: vev(); | |
text-shadow: vev(); | |
} | |
a:hover { | |
font-size: vev(18px); | |
font-weight: vev(normal); | |
line-height: vev(); | |
letter-spacing: vev(); | |
word-spacing: vev(); | |
text-transform: vev(); | |
text-decoration: none; | |
color: vev($bg4); | |
background: vev($primary3); | |
border: vev(1px solid $primary3); | |
cursor: pointer; | |
box-shadow: vev(); | |
text-shadow: vev(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment