Created
May 23, 2019 17:18
-
-
Save botic/43725d73fbbc703276778d16109819d7 to your computer and use it in GitHub Desktop.
Generate Party CSS
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
| .oevp .bar { | |
| background-color: #64c4d2; | |
| } | |
| .spoe .bar { | |
| background-color: #e3001c; | |
| } | |
| .fpoe .bar { | |
| background-color: #2453a1; | |
| } | |
| .gruene .bar { | |
| background-color: #80b20a; | |
| } | |
| .neos .bar { | |
| background-color: #e61b72; | |
| } | |
| .kpoe .bar { | |
| background-color: #900d11; | |
| } | |
| .europa .bar { | |
| background-color: #e6dcbc; | |
| } |
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
| // colors for bars | |
| $colors: ( | |
| oevp: #64c4d2, | |
| spoe: #e3001c, | |
| fpoe: #2453a1, | |
| gruene: #80b20a, | |
| neos: #e61b72, | |
| kpoe: #900d11, | |
| europa: #e6dcbc, | |
| ); | |
| @each $name, $hex in $colors { | |
| .#{$name} .bar { background-color: $hex; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment