-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(cdk/a11y): Refactor focus indicator theme mixins to match other theme mixins #22427
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
|
|
||
| // Include the dark theme colors for focus indicators. | ||
| .demo-strong-focus { | ||
| &.demo-strong-focus { |
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.
This was a bug, AFAICT.
96be0c5 to
02cf798
Compare
| border-color: $color; | ||
| @mixin theme($theme-or-color-config) { | ||
| $theme: theming.private-legacy-get-theme($theme-or-color-config); | ||
| @include theming.private-check-duplicate-theme-styles($theme, 'mat-focus-indicators') { |
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.
Note: The id to private-check-duplicate-theme-styles was changed from mat-strong-focus-indicators to mat-focus-indicators to address a linter error I was getting:
Missing check for duplicative theme styles. material/theme-mixin-api
Please include the duplicate styles check mixin: theming.private-check-duplicate-theme-styles($theme, 'mat-focus-indicators')
jelbourn
left a comment
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
|
@zelliott Sorry for the delay here. Could you resolve these merge conflicts for us? |
cb7a528 to
a83c0bf
Compare
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
e668309 to
66412b5
Compare
…her theme mixins refactor(cdk/a11y): Fix lint warnings cdk(refactor/a11y): Fix lint warnings
66412b5 to
331ced4
Compare
|
@zelliott I changed the |
|
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.