Sha256: f58fc97b7e779b4550a8b02d604778e8b167427a6198f73c6b1c4e703fb9311c

Contents?: true

Size: 716 Bytes

Versions: 9

Compression:

Stored size: 716 Bytes

Contents

// Colours
// ==========================================================================

// Sass list for colour palette

$palette: (
  ("purple", $purple),
  ("mauve", $mauve),
  ("fuschia", $fuschia),
  ("pink", $pink),
  ("baby-pink", $baby-pink),
  ("red", $red),
  ("mellow-red", $mellow-red),
  ("orange", $orange),
  ("brown", $brown),
  ("yellow", $yellow),
  ("green", $green),
  ("grass-green", $grass-green),
  ("turquoise", $turquoise),
  ("light-blue", $light-blue)
 );

@mixin color-palette {
  @each $color in $palette {
    $color-name: nth($color, 1);
    $color-var: nth($color, 2);
    .color-#{$color-name} {
      background-color: $color-var;
    }
  }
}

// Usage:
// @include color-palette;

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
moj_internal_template-0.1.9 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.8 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.7 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.6 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.5 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.4 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.2 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.1 app/assets/stylesheets/elements/_colours.scss
moj_internal_template-0.1.0 app/assets/stylesheets/elements/_colours.scss