Sha256: 01be37a53dcf0e8b0a099f8bc1c3b045bd7ab6415d7514e97dd8a9f2258484fc

Contents?: true

Size: 988 Bytes

Versions: 5

Compression:

Stored size: 988 Bytes

Contents

$c1: #005F73;
$c2: #03989E;
$c3: #CA6702;
$c4: #EE9B00;
$c5: #355691;
$c6: #4073A0;
$c7: #3C5A14;
$c8: #598B2C;
$c9: #9B2226;
$c10: #B18FCF;

html {
  --c1: #{$c1};
  --c2: #{$c2};
  --c3: #{$c3};
  --c4: #{$c4};
  --c5: #{$c5};
  --c6: #{$c6};
  --c7: #{$c7};
  --c8: #{$c8};
  --c9: #{$c9};
  --c10: #{$c10};
}

@mixin paint($color) {
  background-image: linear-gradient(225deg, $color 50%, transparent 50%);
  border-top-color: $color;
  .control, .header {
    .button {
      background-color: $color;
    }
    a {
      color: $color;
    }
  }
  .body {
    h3 {
      color: $color;
    }
  }
  &.current {
    .control {
      background-color: $color;
    }
  }
}

.c1 {
  @include paint($c1);
}
.c2 {
  @include paint($c2);
}
.c3 {
  @include paint($c3);
}
.c4 {
  @include paint($c4);
}
.c5 {
  @include paint($c5);
}
.c6 {
  @include paint($c6);
}
.c7 {
  @include paint($c7);
}
.c8 {
  @include paint($c8);
}
.c9 {
  @include paint($c9);
}
.c10 {
  @include paint($c10);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
askclass-news-theme-0.4.2 _sass/_tab-colors.scss
askclass-news-theme-0.4.1 _sass/_tab-colors.scss
askclass-news-theme-0.4.0 _sass/_tab-colors.scss
askclass-news-theme-0.3.0 _sass/_tab-colors.scss
askclass-news-theme-0.2.12 _sass/_tab-colors.scss