-
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(select): add component tokens (#11178)
**Related Issue:** [#7180](#7180) ## Summary Add `select` component tokens. `--calcite-select-font-size`: Specifies the font size of `calcite-option`s in the component. `--calcite-select-text-weight`: Specifies the font weight of `calcite-option`s in the component. `--calcite-select-text-color`: Specifies the text color of `calcite-option`s in the component. `--calcite-select-border-color`: Specifies the component's border color. `--calcite-select-icon-color`: Specifies the component's icon color. `--calcite-select-icon-color-hover`: Specifies the component's icon color when hovered or active.
- Loading branch information
1 parent
fb7f6ae
commit e878e07
Showing
4 changed files
with
73 additions
and
12 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,15 @@ | ||
import { html } from "../../support/formatting"; | ||
|
||
export const selectTokens = { | ||
calciteSelectFontSize: "", | ||
calciteSelectTextColor: "", | ||
calciteSelectBorderColor: "", | ||
calciteSelectIconColor: "", | ||
calciteSelectIconColorHover: "", | ||
}; | ||
|
||
export const select = html`<calcite-select> | ||
<calcite-option>uno</calcite-option> | ||
<calcite-option>dos</calcite-option> | ||
<calcite-option>tres</calcite-option> | ||
</calcite-select>`; |