-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(handle): add component tokens (#10262)
**Related Issue:** #7180 ## Summary Add `handle` component tokens. `--calcite-handle-background-color`: Specifies the component's background color. `--calcite-handle-background-color-hover`: Specifies the component's background color on hover. `--calcite-handle-background-color-selected`: Specifies the component's background color when selected. `--calcite-handle-icon-color`: Specifies the component's icon color. `--calcite-handle-icon-color-hover`: Specifies the component's icon color on hover. `--calcite-handle-icon-color-selected`: Specifies the component's icon color when selected.
- Loading branch information
Showing
5 changed files
with
82 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { html } from "../../support/formatting"; | ||
|
||
export const handleTokens = { | ||
calciteHandleBackgroundColor: "", | ||
calciteHandleBackgroundColorHover: "", | ||
calciteHandleBackgroundColorSelected: "", | ||
calciteHandleIconColor: "", | ||
calciteHandleIconColorHover: "", | ||
calciteHandleIconColorSelected: "", | ||
}; | ||
|
||
export const handle = html`<calcite-handle></calcite-handle>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters