File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
core/src/components/accordion Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 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 } ;
5960
6061 @include globals .typography (globals .$ion-heading-h6-medium );
6162}
Original file line number Diff line number Diff line change @@ -206,15 +206,6 @@ export class Accordion implements ComponentInterface {
206206 * for specific styling purposes
207207 */
208208 ionItem . classList . add ( 'accordion-header-item' ) ;
209-
210- /**
211- * Set the pressed state background color for ionic theme.
212- * This overrides the default blue color from ion-item.
213- */
214- const theme = getIonTheme ( this ) ;
215- if ( theme === 'ionic' ) {
216- ionItem . style . setProperty ( '--background-activated' , 'var(--token-bg-neutral-subtlest-press)' ) ;
217- }
218209 } ;
219210
220211 private getSlottedHeaderIonItem = ( ) => {
You can’t perform that action at this time.
0 commit comments