ionic-team / ionic-team/ionic-framework

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

オープン
#27,500 コメント 9 件 リアクション 19 件 担当者 0 名 GitHub で見る
package: core type: feature request
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。