Skip to content

Commit

Permalink
fix: improve chips trailing action focus state
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed May 19, 2024
1 parent c4c7038 commit b61550b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/chips/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
@use '@material/feature-targeting/feature-targeting';
@use '@material/theme/index' as theme;

$ripple-target: '.mdc-button__ripple';
$ripple-target: '.mdc-chip__ripple';

@mixin core-styles($query: feature-targeting.all()) {
.smui-chip-set--non-interactive .mdc-chip {
cursor: initial;

@include theme.property(color, on-surface);
}

.mdc-deprecated-chip-trailing-action {
opacity: 0.7;

&:focus {
opacity: 1;
}
}
}

0 comments on commit b61550b

Please sign in to comment.