-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(material-experimental/mdc-tabs): reduce bundle size (#24262)
Reworks the MDC-based tabs to reduce their bundle size. In total, the JS bundle has decreased by ~10kb and the dev app theme by ~50kb. The changes include: * Not using MDC's tab theme since we were basically only styling the tab label color. I've switched us over to the mixins for styling the label instead. * Using the `static-styles` mixin instead of `without-ripple`. (cherry picked from commit e7b7576)
- Loading branch information
Showing
2 changed files
with
16 additions
and
56 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