Skip to content

Commit 0627157

Browse files
committed
chore: update css values based on latest changes
1 parent dfe2e2a commit 0627157

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

lib/components/Accordion/Accordion.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$border: 1px solid var(--general-active);
1+
$border: 1px solid var(--du-general-active);
22
$animation-duration: 0.3s;
33

44
.deriv-accordion {
@@ -9,7 +9,7 @@ $animation-duration: 0.3s;
99

1010
&__wrapper {
1111
width: 100%;
12-
background-color: var(--general-main-2);
12+
background-color: var(--du-general-main-2);
1313

1414
&--default {
1515
padding: 24px;
@@ -47,7 +47,7 @@ $animation-duration: 0.3s;
4747
justify-content: space-between;
4848

4949
&--border-bottom {
50-
border-bottom: 1px solid var(--border-normal-1);
50+
border-bottom: 1px solid var(--du-border-normal-1);
5151
}
5252
}
5353

src/stories/Accordion.stories.tsx

+11
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ const meta = {
4949
},
5050
} satisfies Meta<typeof Accordion>;
5151

52+
export const AllowMultiple: Story = {
53+
args: {
54+
allowMultiple: true,
55+
},
56+
render: (args) => (
57+
<div className="theme--light">
58+
<Accordion {...args} />
59+
</div>
60+
),
61+
};
62+
5263
export default meta;
5364
type Story = StoryObj<typeof meta>;
5465

0 commit comments

Comments
 (0)