-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Whcm fixes #2620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whcm fixes #2620
Changes from all commits
a560b5f
10ff0f6
c95de95
e822a07
4d91aa7
f4a43ac
429d7c6
24f5c37
5f54deb
bf5d099
f4aa837
a9aa66f
b6fdc2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,3 +62,10 @@ governing permissions and limitations under the License. | |
| } | ||
| } | ||
| } | ||
| @media (forced-colors: active) { | ||
| .spectrum-Accordion-itemHeader { | ||
| &:focus-ring { | ||
| outline: 3px solid CanvasText; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stylistically looks fine to me, perhaps should be a box shadow? cc @snowystinger
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that is typically our preference, i do not remember why at this time though |
||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,3 +155,50 @@ governing permissions and limitations under the License. | |
| } | ||
| } | ||
| } | ||
|
|
||
| @media (forced-colors: active) { | ||
| .spectrum-Tags-item { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like the Tags are missing a distinguishable active style in WHCM. Clicking on the Tag in the "icon, removable" story in non-WHCM displays a style change but not in WHCM |
||
| forced-color-adjust: none; | ||
| --spectrum-tag-background-color: ButtonFace; | ||
| --spectrum-tag-background-color-disabled: ButtonFace; | ||
| --spectrum-tag-background-color-hover: ButtonFace; | ||
| --spectrum-tag-background-color-key-focus: ButtonFace; | ||
| --spectrum-tag-background-color-selected: Highlight; | ||
| --spectrum-tag-background-color-selected-hover: Highlight; | ||
| --spectrum-tag-border-color: ButtonText; | ||
| --spectrum-tag-border-color-disabled: GrayText; | ||
| --spectrum-tag-border-color-error: ButtonText; | ||
| --spectrum-tag-border-color-error-hover: ButtonText; | ||
| --spectrum-tag-border-color-error-selected: HighlightText; | ||
| --spectrum-tag-border-color-hover: Highlight; | ||
| --spectrum-tag-border-color-key-focus: Highlight; | ||
| --spectrum-tag-border-color-selected: HighlightText; | ||
| --spectrum-tag-border-color-selected-key-focus: ButtonText; | ||
| --spectrum-tag-icon-color-error: ButtonText; | ||
| --spectrum-tag-icon-color-error-hover: ButtonText; | ||
| --spectrum-tag-removable-border-color-error-down: Highlight; | ||
| --spectrum-tag-removable-border-color-error-hover: Highlight; | ||
| --spectrum-tag-removable-border-color-key-focus: Highlight; | ||
| --spectrum-tag-removable-button-background-color-hover: ButtonFace; | ||
| --spectrum-tag-removable-button-background-color-key-focus: ButtonFace; | ||
| --spectrum-tag-removable-button-background-color-selected-hover: Highlight; | ||
| --spectrum-tag-removable-button-icon-color-hover: Highlight; | ||
| --spectrum-tag-removable-button-icon-color-key-focus: Highlight; | ||
| --spectrum-tag-removable-button-icon-color-selected: HighlightText; | ||
| --spectrum-tag-removable-button-icon-color-selected-hover: HighlightText; | ||
| --spectrum-tag-removable-text-color-down: ButtonText; | ||
| --spectrum-tag-removable-text-color-error-down: Highlight; | ||
| --spectrum-tag-removable-text-color-error-key-focus: Highlight; | ||
| --spectrum-tag-removable-text-color-hover: ButtonText; | ||
| --spectrum-tag-removable-text-color-key-focus: ButtonText; | ||
| --spectrum-tag-removable-text-color-selected: HighlightText; | ||
| --spectrum-tag-removable-text-color-selected-key-focus: HighlightText; | ||
| --spectrum-tag-text-color: ButtonText; | ||
| --spectrum-tag-text-color-disabled: GrayText; | ||
| --spectrum-tag-text-color-error-selected: HighlightText; | ||
| --spectrum-tag-text-color-hover: ButtonText; | ||
| --spectrum-tag-text-color-key-focus: ButtonText; | ||
| --spectrum-tag-text-color-selected: HighlightText; | ||
| --spectrum-tag-text-color-selected-key-focus: HighlightText; | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is the focus style drawn for
.spectrum-Accordion-itemHeaderwithout WHCM? Should this be?:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without WHCM it is a border at the left hand side. Really too subtle for WHCM. IMO it is not enough which is why I added the outline.