Skip to content

Commit

Permalink
Set AccordionHeader's background color to align with Figma (#4555)
Browse files Browse the repository at this point in the history
Authored-by: Tayyaba Taimur <tayyabataimur@main>
  • Loading branch information
tayyabataimur authored Jan 10, 2025
1 parent 87b3df6 commit bfea9b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/smart-jobs-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/core": patch
---

Updated `AccordionHeader`'s background color to `transparent` to align with Figma. Closes #4544.
4 changes: 2 additions & 2 deletions packages/core/src/accordion/AccordionHeader.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
border: 0;
width: 100%;
min-height: calc(var(--salt-size-base) + var(--salt-spacing-100));
background: var(--salt-actionable-secondary-background);
background: transparent;
font-size: var(--salt-text-fontSize);
line-height: var(--salt-text-lineHeight);
font-family: var(--salt-text-fontFamily);
Expand Down Expand Up @@ -61,7 +61,7 @@
}

.saltAccordionHeader:disabled {
background: var(--salt-actionable-secondary-background);
background: transparent;
color: var(--salt-content-primary-foreground-disabled);
cursor: var(--salt-actionable-cursor-disabled);
}

0 comments on commit bfea9b3

Please sign in to comment.