mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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)
This commit is contained in:
@@ -36,27 +36,6 @@
|
||||
@include globals.focused-state(null, null, var(--focus-ring-color));
|
||||
}
|
||||
|
||||
// Chip: Hover
|
||||
// ---------------------------------------------
|
||||
|
||||
@media (any-hover: hover) {
|
||||
:host(.chip-subtle:hover) {
|
||||
--background: #{globals.$ion-primitives-neutral-200};
|
||||
}
|
||||
|
||||
:host(.chip-bold:hover) {
|
||||
--background: #{globals.$ion-primitives-neutral-1100};
|
||||
}
|
||||
|
||||
:host(.chip-subtle.ion-color:hover) {
|
||||
background: globals.current-color(tint, $subtle: true);
|
||||
}
|
||||
|
||||
:host(.chip-bold.ion-color:hover) {
|
||||
background: globals.current-color(shade);
|
||||
}
|
||||
}
|
||||
|
||||
// Chip: Disabled
|
||||
// ---------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user