ionic-team / ionic-team/ionic-framework

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

Abierto
#27,500 9 comentarios 19 reacciones 0 asignados Ver en GitHub
package: core type: feature request
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.