Sha256: 98670e9bd22f838fdd737725b0bdcbd5d5b3a6008204dab05af8ecf3461214d4

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

@import "colours/organisation";

// this uses the colours from govuk_frontend_toolkit
// https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/colours/_organisation.scss

@mixin organisation-brand-colour() {
  @each $organisation in $all-organisation-brand-colours {
    .brand--#{nth($organisation, 1)} {
      .brand__color {
        color: nth($organisation, 3);
      }

      .brand__border-color {
        border-color: nth($organisation, 2);
      }
    }
  }
}

@include organisation-brand-colour;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
govuk_publishing_components-7.3.0 app/assets/stylesheets/govuk_publishing_components/components/helpers/_organisation-colours.scss
govuk_publishing_components-7.2.0 app/assets/stylesheets/govuk_publishing_components/components/helpers/_organisation-colours.scss