Skip to content

Commit

Permalink
[PLAY-1435] Fix Dark Mode Styles: Collapsible Kit
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymig88 committed Jul 17, 2024
1 parent 93377d2 commit 9dad00a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CollapsibleCustomMain = () => {
collapsed={isCollapsed}
>
<Background
backgroundColor="white"
backgroundColor="clear"
cursor="pointer"
htmlOptions={{onClick:() => setIsCollapsed(!isCollapsed)}}
position="sticky"
Expand All @@ -23,8 +23,9 @@ const CollapsibleCustomMain = () => {
>
<Title
size={4}
text="Custom Main Section"
text="Custom Main Section"
/>
<Collapsible.Icon collapsed={isCollapsed}/>
</Flex>
</Background>
<Collapsible.Content padding="none">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const CollapsibleCustomMainWithIcon = () => {
collapsed={isCollapsed}
>
<Background
backgroundColor="white"
backgroundColor="clear"
cursor="pointer"
htmlOptions={{onClick:() => setIsCollapsed(!isCollapsed)}}
position="sticky"
Expand All @@ -23,7 +23,7 @@ const CollapsibleCustomMainWithIcon = () => {
>
<Title
size={4}
text="Custom Main Section"
text="Custom Main Section"
/>
<Collapsible.Icon collapsed={isCollapsed}/>
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const CollapsibleIcons = (props) => {
<>
<Collapsible
icon={['plus','minus']}
iconColor='white'
>
<Collapsible.Main {...props}>
<div>{'Main Section'}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const CollapsibleState = (props) => {
<Collapsible
collapsed={isCollapsed}
icon={["plus", "minus"]}
iconColor='white'
padding="none"
>
<Collapsible.Main padding="sm"
Expand All @@ -35,6 +36,7 @@ const CollapsibleState = (props) => {
<Collapsible
collapsed={isCollapsed}
icon={["plus", "minus"]}
iconColor='white'
padding="none"
>
<Collapsible.Main padding="sm"
Expand All @@ -53,6 +55,7 @@ const CollapsibleState = (props) => {
<Collapsible
collapsed={isCollapsed}
icon={["plus", "minus"]}
iconColor='white'
padding="none"
>
<Collapsible.Main padding="sm"
Expand Down

0 comments on commit 9dad00a

Please sign in to comment.