We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe79a5a commit 1605337Copy full SHA for 1605337
core/src/components/accordion/accordion.tsx
@@ -200,6 +200,15 @@ export class Accordion implements ComponentInterface {
200
if (ionItem.lines === undefined) {
201
ionItem.lines = 'full';
202
}
203
+
204
+ /**
205
+ * Set the pressed state background color for ionic theme.
206
+ * This overrides the default blue color from ion-item.
207
+ */
208
+ const theme = getIonTheme(this);
209
+ if (theme === 'ionic') {
210
+ ionItem.style.setProperty('--background-activated', 'var(--token-bg-neutral-subtlest-press)');
211
+ }
212
};
213
214
private getSlottedHeaderIonItem = () => {
0 commit comments