Skip to content

Commit da30b91

Browse files
fix(accordion): ensure pressed state background applies in ionic theme
1 parent f20a7f5 commit da30b91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/accordion/accordion.ionic.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
--padding-end: #{globals.$ion-space-400};
5757
--padding-bottom: #{globals.$ion-space-300};
5858
--padding-start: #{globals.$ion-space-400};
59-
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
6059

6160
@include globals.typography(globals.$ion-heading-h6-medium);
6261
}

core/src/components/item/item.ionic.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ slot[name="end"]::slotted(*) {
125125

126126
// Item in Accordion
127127
// --------------------------------------------------
128-
// Ensure button element in accordion header has proper horizontal padding
129128
:host(.accordion-header-item) .item-native {
129+
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
130+
130131
@include globals.padding-horizontal(globals.$ion-space-400);
131132
}

0 commit comments

Comments
 (0)