We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab76f43 commit 57cd53cCopy full SHA for 57cd53c
core/src/components/accordion/accordion.tsx
@@ -202,10 +202,11 @@ export class Accordion implements ComponentInterface {
202
}
203
204
/**
205
- * Add a class to identify this item as an accordion header
206
- * for specific styling purposes
+ * Ionic theme only: class for accordion header item styling.
207
*/
208
- ionItem.classList.add('accordion-header-item');
+ if (getIonTheme(this) === 'ionic') {
+ ionItem.classList.add('accordion-header-item');
209
+ }
210
};
211
212
private getSlottedHeaderIonItem = () => {
0 commit comments