-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(button): enhance component's interactivity states (#11590)
**Related Issue:** [#9246](#9246) ## Summary - Remove `hover` styling from all `focus` states. - Update `button` demos page `outline-fill` section to use `appearance="outline-fill"` instead of `appearance="outline"`. - `kind="neutral" appearance="solid"`: - Update `hover` `background-color` to `--calcite-color-border-3`. - Update `active` `background-color` to `--calcite-color-border-2`. - `kind="neutral" appearance="outline-fill | outline"`: - Update all `hover` stroke colors to `--calcite-color-border-input`. - Update all `active` stroke colors to `--calcite-color-text-3`. - `appearance="outline-fill"`: - Update `hover` to a `--calcite-color-foreground-2` `background` change instead of a stroke width change. - Update `active` to a `--calcite-color-foreground-3` `background` change instead of a stroke width change. - `appearance="outline"`: - Update `hover` to a `--calcite-color-transparent-hover` `background` change instead of a stroke width change. - Update `active` to a `--calcite-color-transparent-press` `background` change instead of a stroke width change.
- Loading branch information
1 parent
7122f89
commit 146bb63
Showing
3 changed files
with
130 additions
and
132 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
Oops, something went wrong.