-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Add HCM disabled styles for stepper and tabs #25393
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
Conversation
// color, which is (unintuitively) named "GrayText". | ||
@include cdk.high-contrast(active, off) { | ||
&[aria-disabled="true"] { | ||
color: GrayText; |
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.
There's also a DisabledText color IIRC. Should we be using that instead?
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.
Nevermind, I just double-checked it and it's indeed GreyText
. We may want to check it against Firefox though since I saw this comment: https://github.com/angular/components/blob/main/src/material/legacy-core/option/option.scss#L40
lmk if you want me to test this on Windows. |
1e917b7
to
07deb15
Compare
I tested this in Chrome on Windows (on my personal PC), but I did forget to test Firefox. I'll double check it tomorrow when I WFH. |
This adds disabled styles for stepper header in high contrast mode
This adds disabled styles for tab labels in high contrast mode
07deb15
to
e2d65d7
Compare
Just tested this on Firefox and it looks right |
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.
LGTM
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.
LGTM
* fix(material/stepper): add HCM disabled styles This adds disabled styles for stepper header in high contrast mode * fix(material/tabs): add HCM disabled styles This adds disabled styles for tab labels in high contrast mode (cherry picked from commit bdec140)
* fix(material/stepper): add HCM disabled styles This adds disabled styles for stepper header in high contrast mode * fix(material/tabs): add HCM disabled styles This adds disabled styles for tab labels in high contrast mode
* fix(material/stepper): add HCM disabled styles This adds disabled styles for stepper header in high contrast mode * fix(material/tabs): add HCM disabled styles This adds disabled styles for tab labels in high contrast mode
…ngular#25393) * fix(material/stepper): add HCM disabled styles This adds disabled styles for stepper header in high contrast mode * fix(material/tabs): add HCM disabled styles This adds disabled styles for tab labels in high contrast mode
…25393) (#25932) * fix(material/stepper): add HCM disabled styles This adds disabled styles for stepper header in high contrast mode * fix(material/tabs): add HCM disabled styles This adds disabled styles for tab labels in high contrast mode Co-authored-by: Jeremy Elbourn <[email protected]>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@angular/cdk](https://github.com/angular/components) | dependencies | patch | [`14.2.6` -> `14.2.7`](https://renovatebot.com/diffs/npm/@angular%2fcdk/14.2.6/14.2.7) | | [@angular/material](https://github.com/angular/components) | dependencies | patch | [`14.2.6` -> `14.2.7`](https://renovatebot.com/diffs/npm/@angular%2fmaterial/14.2.6/14.2.7) | --- ### Release Notes <details> <summary>angular/components</summary> ### [`v14.2.7`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#​1427-smoke-spirit-2022-11-09) [Compare Source](angular/components@14.2.6...14.2.7) ##### cdk | Commit | Type | Description | | -- | -- | -- | | [f63918a3b8](angular/components@f63918a) | fix | **scrolling:** error when querying for CdkVirtualScrollViewport as CdkScrollable ([#​25937](angular/components#25937)) | ##### material | Commit | Type | Description | | -- | -- | -- | | [53588b51d2](angular/components@53588b5) | fix | **stepper:** add HCM disabled styles for stepper and tabs ([#​25393](angular/components#25393)) ([#​25932](angular/components#25932)) | | [a1473b93fc](angular/components@a1473b9) | fix | **stepper:** content not visibile on first navigation when nested in tabs ([#​25930](angular/components#25930)) | #### Special Thanks Douglas Parker, Kristiyan Kostadinov and Wagner Maciel <!-- CHANGELOG SPLIT MARKER --> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS4yIiwidXBkYXRlZEluVmVyIjoiMzQuMjIuMSJ9--> Co-authored-by: cabr2-bot <[email protected]> Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1635 Reviewed-by: Epsilon_02 <[email protected]> Co-authored-by: Calciumdibromid Bot <[email protected]> Co-committed-by: Calciumdibromid Bot <[email protected]>
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.