ionic-team / ionic-team/ionic-framework

feat: customize theme of ion-alert and ion-action-sheet via color prop

Đang mở
#27,500 9 bình luận 19 reaction 0 người được giao Xem trên GitHub
package: core type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

### 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'`.

image

### Expected Behavior

`ion-checkbox` and `ion-item` components inside `ion-select` should inherit the color property defined in the parent ion-select component.

image

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.