Bootstrap 5 Accordion SASS can be used to change the default values provided for the accordion by customizing scss file of bootstrap5.
SASS variables of Accordion:
- $accordion-padding-y: This variable provides the top padding and bottom padding of the accordion body and accordion button. By default, it is 1rem.
- $accordion-padding-x: This variable provides the left padding and right padding of the accordion body and accordion button. By default, it is 1.25rem.
- $accordion-color: This variable provides the text color in the accordion. By default, it is gray color.
- $accordion-bg: This variable provides the background color of the accordion. By default, it is white color.
- $accordion-border-width: This variable provides the border width of the accordion. By default, it is 1px.