Last active
August 29, 2015 14:01
-
-
Save antife-yinyue/cc9c6604b95b767fecb3 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 'base.sass/+'; | |
$link-status: ( | |
link: ( | |
color: #428bca, | |
line: none | |
), | |
hover: ( | |
// color: defaults to darken(link.color, 15%), | |
line: underline | |
) | |
); | |
a { | |
color: map-get($link-status, link, color); | |
text-decoration: map-get($link-status, link, line); | |
&:hover { | |
color: map-get($link-status, hover, color) | |
or | |
darken(map-get($link-status, link, color), 15%); | |
text-decoration: map-get($link-status, hover, line); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment