diff --git a/packages/components/src/components/accordion-group/accordion-group.stories.ts b/packages/components/src/components/accordion-group/accordion-group.stories.ts index 6685345a7..b11843432 100644 --- a/packages/components/src/components/accordion-group/accordion-group.stories.ts +++ b/packages/components/src/components/accordion-group/accordion-group.stories.ts @@ -103,3 +103,55 @@ export const Mouseless = { }); } }; + +/** + * Accordion group can be used with background options of white, neutral-100 and primary-100. + */ + +export const Samples = { + render: () => { + return html` +
+
+
white
+ + +
Default slot
Default slot
Default slot
+
+
+ +
+
neutral-100
+ +
Default slot
Default slot
Default slot
+
+
+ +
+
primary-100
+ +
Default slot
Default slot
Default slot
+
+
+
+ `; + } +}; diff --git a/packages/components/src/components/accordion/accordion.ts b/packages/components/src/components/accordion/accordion.ts index 26937f9d9..f6c2e31ce 100644 --- a/packages/components/src/components/accordion/accordion.ts +++ b/packages/components/src/components/accordion/accordion.ts @@ -150,13 +150,12 @@ export default class SdAccordion extends SolidElement { render() { return html` -
+