Skip to content

Commit

Permalink
refactor(accordion-item): rename space token (#10068)
Browse files Browse the repository at this point in the history
**Related Issue:** #7180

## Summary

Fix naming inconsistency `--calcite-accordion-item-space` should be
`--calcite-accordion-item-content-space`

---------

Co-authored-by: Kitty Hurley <[email protected]>
  • Loading branch information
alisonailea and geospatialem authored Aug 14, 2024
1 parent a3d2141 commit 259282b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-accordion-border-color: Specifies the component's border color.
* @prop --calcite-accordion-item-space: Specifies the component's padding.
* @prop --calcite-accordion-item-content-space: Specifies the component's padding.
* @prop --calcite-accordion-text-color: Specifies the component's text color.
* @prop --calcite-accordion-text-color-hover: Specifies the component's main text color on hover.
* @prop --calcite-accordion-text-color-pressed: Specifies the component's main text color when pressed.
Expand Down Expand Up @@ -61,7 +61,7 @@
.header-content,
.content {
padding: var(
--calcite-accordion-item-space,
--calcite-accordion-item-content-space,
var(
--calcite-internal-accordion-item-padding,
var(--calcite-internal-accordion-item-spacing-unit, theme("spacing.2") 0.75rem)
Expand Down

0 comments on commit 259282b

Please sign in to comment.