Sha256: a18d20aaef58a47991fffa88b14a9d974b059d1493939d28e1b1d6d2d65b7bc0

Contents?: true

Size: 602 Bytes

Versions: 72

Compression:

Stored size: 602 Bytes

Contents

@import "../tokens/colors";
@import "../pb_body/body";

@mixin pb_button($color: $primary) {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: $color;
}

@mixin indicator-colors($colors-list) {
  @each $name, $color in $colors-list {
    &[class*=#{$name}] {
      .pb_legend_indicator_circle {
        @include pb_button($color);
      }
    }
  }
}

[class^=pb_legend_kit] {
  @include indicator-colors($data_colors);
  @include indicator-colors($status_colors);
  @include indicator-colors($product_colors);
  @include indicator-colors($category_colors)

}

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
playbook_ui-10.22.1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.22.0 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.20.0 app/pb_kits/playbook/pb_legend/_legend.scss
playbook_ui-10.19.0 app/pb_kits/playbook/pb_legend/_legend.scss