Skip to content

Commit 707f02d

Browse files
fix(chip): remove hover state from chip of ionic theme; (#30819)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - remove hover state from ionic theme chip; ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [basic](https://ionic-framework-git-rou-12366-ionic1.vercel.app/src/components/chip/test/basic?ionic:theme=ionic)
1 parent c0a1b43 commit 707f02d

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

core/src/components/chip/chip.ionic.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,6 @@
3636
@include globals.focused-state(null, null, var(--focus-ring-color));
3737
}
3838

39-
// Chip: Hover
40-
// ---------------------------------------------
41-
42-
@media (any-hover: hover) {
43-
:host(.chip-subtle:hover) {
44-
--background: #{globals.$ion-primitives-neutral-200};
45-
}
46-
47-
:host(.chip-bold:hover) {
48-
--background: #{globals.$ion-primitives-neutral-1100};
49-
}
50-
51-
:host(.chip-subtle.ion-color:hover) {
52-
background: globals.current-color(tint, $subtle: true);
53-
}
54-
55-
:host(.chip-bold.ion-color:hover) {
56-
background: globals.current-color(shade);
57-
}
58-
}
59-
6039
// Chip: Disabled
6140
// ---------------------------------------------
6241

0 commit comments

Comments
 (0)