Sha256: 0a826fe520b6ef38e522361ee163e6040bd7a2e1010ec2294a468a58c8b20de7

Contents?: true

Size: 680 Bytes

Versions: 3

Compression:

Stored size: 680 Bytes

Contents

@mixin colors($name, $value) {
  .c-#{$name}, .c-#{$name}-hover:hover, .active .c-#{$name}-active {
    color: $value;
  }

  .bg-#{$name}, .bg-#{$name}-hover:hover, .active .bg-#{$name}-active {
    background-color: $value;
  }

  .bc-#{$name}, .bc-#{$name}-hover:hover, .active .bc-#{$name}-active {
    border-color: $value;
  }
}

@include colors(n, none);

@for $color-index from 1 through length($helio-shades) {
  $color: nth($helio-shades, $color-index);

  @include colors(#{$color-index - 1}, #{$color});
}

@for $color-index from 1 through length($helio-colors) {
  $color: nth($helio-colors, $color-index);

  @include colors(#{nth($color, 1)}, #{nth($color, 2)});
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
helio-0.0.0.7 assets/stylesheets/helio/_colors.scss
helio-0.0.0.6 assets/stylesheets/helio/_colors.scss
helio-0.0.0.5 assets/stylesheets/helio/_colors.scss