Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(panel): Add component tokens (#10822)
**Related Issue:** #7180 This will also serve as a pattern for consuming component like Dialog, Sheet, etc. ## Summary `--calcite-panel-corner-radius`: Specifies the corner radius of the component. `--calcite-panel-heading-text-color`: Specifies the text color of the component's `heading`. `--calcite-panel-description-text-color`: Specifies the text color of the component's `description`. `--calcite-panel-border-color`: Specifies the border color of the component. `--calcite-panel-background-color`: Specifies the background color of the component. `--calcite-panel-header-background-color`: Specifies the background color of the component's footer. `--calcite-panel-footer-background-color`: Specifies the background color of the component's footer. `--calcite-panel-space`: Specifies the padding of the component's `"unnamed (default)"` slot. `--calcite-panel-header-content-space`: Specifies the padding of the `"header-content"` slot. `--calcite-panel-footer-space`: Specifies the padding of the component's footer. `--calcite-action-background-color`: Specifies the background color of the component's `closable`, `collapsible`, and `back` Action components. Will apply to any slotted Calcite Action components. `--calcite-action-background-color-hover`: Specifies the background color of the component's `closable`, `collapsible`, and `back` Action components when hovered. Will apply to any slotted Calcite Action components. `--calcite-action-background-color-pressed`: Specifies the background color of the component's `closable`, `collapsible`, and `back` Action components when pressed. Will apply to any slotted Calcite Action components. `--calcite-action-text-color-hover`: Specifies the text and icon color of the component's `closable`, `collapsible`, and `back` Action components when hovered. Will apply to any slotted Calcite Action components. `--calcite-action-text-color-pressed`: Specifies the text and icon color of the component's `closable`, `collapsible`, and `back` Action components when pressed. Will apply to any slotted Calcite Action components. `--calcite-popover-border-color`: Specifies the border color of the component's Calcite Popover component, which is used to display a Calcite Action Menu when slotted Calcite Actions are present in the `header-actions-end` slot. Will apply to any slotted Calcite Popover components. `--calcite-panel-content-space`: [Deprecated] Specifies the padding of the component's content. Use `--calcite-panel-space` instead. `--calcite-panel-footer-padding`: [Deprecated] Specifies the padding of the component's footer. Use `--calcite-panel-footer-space` instead. `--calcite-panel-header-border-block-end`: [Deprecated] Specifies the component header's block end border. Use `--calcite-panel-border-color` instead.
- Loading branch information