Skip to content

Commit

Permalink
docs(dropdown, dropdown-group, dropdown-item): update component token…
Browse files Browse the repository at this point in the history
… descriptions (#11537)

**Related Issue:** #7180

## Summary
Updates `dropdown`, `dropdown-group` and `dropdown-item` CSS variable
descriptions in alignment with documentation standards.
  • Loading branch information
geospatialem authored Feb 12, 2025
1 parent 601ef86 commit 4e951e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-dropdown-group-border-color: Specifies the color of the dropdown's border.
* @prop --calcite-dropdown-group-title-text-color: Specifies the color of the dropdown's title.
* @prop --calcite-dropdown-group-border-color: Specifies the `calcite-dropdown`'s border color.
* @prop --calcite-dropdown-group-title-text-color: Specifies the component's `groupTitle` color.
*/

:host {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
*
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-dropdown-item-background-color-hover: Specifies the background color of the dropdown item when hovered.
* @prop --calcite-dropdown-item-background-color-press: Specifies the background color of the dropdown item when selected or active.
* @prop --calcite-dropdown-item-icon-color-hover: Specifies the color of the dropdown item icon when hovered.
* @prop --calcite-dropdown-item-icon-color-press: Specifies the color of the dropdown item icons when selected or active.
* @prop --calcite-dropdown-item-text-color-press: Specifies the color of the dropdown item text when selected or active.
* @prop --calcite-dropdown-item-text-color: Specifies the color of the dropdown item text.
* @prop --calcite-dropdown-item-background-color-hover: Specifies the item's background color when hovered.
* @prop --calcite-dropdown-item-background-color-press: Specifies the item's background color when selected or active.
* @prop --calcite-dropdown-item-icon-color-hover: Specifies the item's icon selection color when hovered.
* @prop --calcite-dropdown-item-icon-color-press: Specifies the item's icon selection color when selected or active.
* @prop --calcite-dropdown-item-text-color-press: Specifies the item's text when selected or active.
* @prop --calcite-dropdown-item-text-color: Specifies the item's text color.
*/

@mixin item-styling {
Expand Down
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-dropdown-width: Specifies the width of the component's wrapper.
* @prop --calcite-dropdown-background-color: Specifies the background color of the component.
* @prop --calcite-dropdown-background-color: Specifies the component's background color.
*/

:host {
Expand Down

0 comments on commit 4e951e7

Please sign in to comment.