Skip to content

Commit

Permalink
fix: increase contrast to be AA compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemai2awesome committed Jan 8, 2020
1 parent 4df332f commit 4817b94
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions packages/components/bolt-chip/src/chip.scss
Expand Up @@ -8,9 +8,9 @@
$bolt-chip-border-radius: bolt-border-radius(full);
$bolt-chip-color: bolt-theme(text);
$bolt-chip-color-link: bolt-theme(link);
$bolt-chip-background-color: bolt-theme(neutral,0.3);
$bolt-chip-background-color-hover: bolt-theme(neutral,0.5);
$bolt-chip-background-color-active: bolt-theme(neutral,0.7);
$bolt-chip-background-color: bolt-theme(neutral, 0.2);
$bolt-chip-background-color-hover: bolt-theme(neutral, 0.3);
$bolt-chip-background-color-active: bolt-theme(neutral, 0.5);
$bolt-chip-transition: $bolt-transition;
$bolt-chip-item-size: bolt-spacing(xxsmall) / 2;

Expand Down Expand Up @@ -39,16 +39,11 @@ bolt-chip {
transition: background-color $bolt-chip-transition;
}

$bolt-chip-sizes: (
xsmall,
small,
medium,
);
$bolt-chip-sizes: (xsmall, small, medium);

@each $size in $bolt-chip-sizes {
.c-bolt-chip--size-#{$size} {
@include bolt-padding(#{$size}, squished);

}
}

Expand All @@ -66,7 +61,6 @@ $bolt-chip-sizes: (
}
}


.c-bolt-chip__text,
.c-bolt-chip__icon {
@include bolt-padding(0 $bolt-chip-item-size);
Expand Down

0 comments on commit 4817b94

Please sign in to comment.