Repository navigation
fix(testing): apply theme-dependent default text color in cells - #6108
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
cl/1013360844
branch
from
November 4, 2026 00:09
949cd30 to
29d32d7
Compare
currentColor when dark is setdark
copybara-service
Bot
force-pushed
the
cl/1013360844
branch
from
November 4, 2026 00:30
29d32d7 to
fd899ee
Compare
darkdark
copybara-service
Bot
force-pushed
the
cl/1013360844
branch
from
November 4, 2026 00:38
fd899ee to
e4639d8
Compare
dark
copybara-service
Bot
force-pushed
the
cl/1013360844
branch
2 times, most recently
from
November 4, 2026 20:35
2017d63 to
359ccbc
Compare
This PR causes `<md-test-table>` to apply a light/dark-dependent default text color to its test content cells so that `currentColor` is appropriate for the cell background, which already depends on the theme. This makes test content using `currentColor` alone for styling, without explicitly applying a Material color CSS variable to is own text, to be compatible with `<md-test-table>`. PiperOrigin-RevId: 1014054588
copybara-service
Bot
force-pushed
the
cl/1013360844
branch
from
November 4, 2026 20:39
359ccbc to
d872455
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(testing): apply theme-dependent default text color in cells
This PR causes
<md-test-table>to apply a light/dark-dependent default textcolor to its test content cells so that
currentColoris appropriate for thecell background, which already depends on the theme. This makes test content
using
currentColoralone for styling, without explicitly applying a Materialcolor CSS variable to is own text, to be compatible with
<md-test-table>.