Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*========================================
- Colour Styles
- _____________
- ========================================*/
- /*========================================
- Normal Colours
- ========================================*/
- $white-default: #fff;
- $black-default: #000;
- /*========================================
- Main Colours
- ========================================*/
- $primary: #2a2b2f;
- $secondary: #efefef;
- /*========================================
- Colour Classes
- ========================================*/
- $color-list: primary, secondary, white-default, black-default;
- $color-list-vars: $primary, $secondary, $white-default, $black-default;
- @for $i from 1 through length($color-list) {
- .bg-#{nth($color-list, $i)} {
- background: nth($color-list-vars, $i);
- }
- .color-#{nth($color-list, $i)} {
- color: nth($color-list-vars, $i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement