Created
February 17, 2016 12:57
-
-
Save soerson/ed6e4f12d80e15e808f5 to your computer and use it in GitHub Desktop.
SCSS: social colors via sass-map
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
| $soc-colors-settings: ( | |
| tw: #00b6f3, | |
| fb: #3b5998, | |
| in: #2086bc, | |
| gp: #cf4231, | |
| vk: #5f7fa2, | |
| ); | |
| .item { | |
| @each $name, $color in $soc-colors-settings { | |
| &--#{$name} { | |
| background-color: $color; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment