-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(material-experimental/mdc-paginator): clean up theme sass #20925
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
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.
What exactly is broken in the dark theme? It seems to be working in the dev app.
Hmm you're right, I migrated an internal app I made and it was broken there. I might need to look more into what the difference was between that app and our dev app. (Though even if this change isn't necessary I'd still like to submit it as it cleans up the theme code a bit. There's no reason to transform the mat color config to an MDC one if we're not passing it to MDC's mixins |
It was something wrong with the live reload setup, did a fresh rebuild and it was fine. That said I do think this is valuable cleanup so leaving it open |
043f96c
to
11d6e15
Compare
@mmalerba could you amend the commit to be more specific about the nature of the cleanup? |
From what I can see, the change here is that we go through our own theming APIs instead of MDC's. I wrote the theme this way, because I was under the impression that we wanted to stick to MDC's theming API for the MDC-based components. We've been following a similar setup for all of the other ones under |
We still want to rely on our themeing system, the |
remove usage of `mat-using-mdc-theme` since we're not calling our to MDC's mixins for this component.
11d6e15
to
918341c
Compare
updated the commit message with more info |
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
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.