-
Couldn't load subscription status.
- Fork 6
Labels
Description
Provide a general summary of the issue here
π Description
The sl-accordion component currently applies a background color to its panel content. This is visible when a section is expanded (see screenshot). However, the panel should be transparent so that it can be used across different elevation layers and backgrounds without visual conflicts.
πΈ Screenshot
β Expected Behavior
- The accordion panel should have a transparent background by default.
- It should inherit or adapt to the background of its parent container or elevation layer.
β Current Behavior
A background color is applied to the panel, which breaks visual consistency in layered UI contexts.
π§ͺ Steps to Reproduce
- Use the sl-accordion component in a layout with elevation layers or custom backgrounds.
- Expand a panel.
- Observe the background color applied to the panel content.
π‘ Suggested Fix
- Remove or override the background color from the panel container.
- Ensure the component supports transparent or inherited backgrounds by default.
π€ Your name
DR
π§’ Your Product/Team
SLDS
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
βοΈ Released