Skip to content

Conversation

@arcra
Copy link
Member

@arcra arcra commented Apr 8, 2025

Motivation for features / changes

Angular v15, which is the one currently used in the OSS repo, uses styles with format --mdc- to style material components.

Later versions of angular migrated to a --mat- prefix, and Angular v20 will update some of the names again.

Our internal codebase uses the styles defined internally, so we need to use the new format.

We recently set up translations internally from these "old" --mdc- stylings to the newer --mat- names, so we don't need them duplicate here, which could potentially be a source for confusion.

Googlers, see cl/744892387 and cl/744895577 for some details.

Technical description of changes

Remove some scss lines that are unused in the public repo.

Angular v15, which is the one currently used in the OSS repo, uses
styles with format `--mdc-` to style material components.

Later versions of angular migrated to a `--mat-` prefix, and Angular v20
will update some of the names again.

Our internal codebase uses the styles defined internally, so we need to
use the new format.

We recently set up translations internally from these "old" `--mdc-`
stylings to the newer `--mat-` names, so we don't need them duplicate
here, which could potentially be a source for confusion.
@arcra arcra merged commit 6f60e56 into tensorflow:master Apr 8, 2025
13 checks passed
@arcra arcra deleted the mat_styles branch April 8, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants