I can't change the CSS of the accordion title because of the shadow DOM in lwc. Is there any way to accomplish that?
Here is the code:
<lightning-accordion onsectiontoggle={handleToggleSection} active-section-name={itemConfig} allow-multiple-sections-open >
<lightning-accordion-section name="MyForm" label="MyForm" class="accordionPadding_small"></lightning-accordion-section>
</lightning-accordion>