ionic-team / ionic-team/ionic-framework
feat: customize theme of ion-alert and ion-action-sheet via color prop
- Vorherrschende Sprache
- TypeScript
- Sterne
- 52.7k
- Forks
- 13.3k
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
v7.x
### Current Behavior
When using `ion-select` with `color='secondary'`, the `ion-checkbox` and `ion-item` components inside the `ion-select` still use the default `color='primary'`.
### Expected Behavior
`ion-checkbox` and `ion-item` components inside `ion-select` should inherit the color property defined in the parent ion-select component.
### Steps to Reproduce
1. Change prop `color` of `ion-select` to `secondary`
2. Use with `multiple`
3. Open the options
### Code Reproduction URL
https://felipefialho.github.io/select-with-multiple/
### Ionic Info
```sh
Ionic:
Ionic CLI : 7.1.1
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v18.13.0
npm : 8.19.3
OS : macOS Unknown
```
### Additional Information
_No response_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.