Skip to content

fix(testing): apply theme-dependent default text color in cells - #6108

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/1013360844
Nov 4, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
cl/1013360844

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

fix(testing): apply theme-dependent default text color in cells

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>.

@copybara-service copybara-service Bot changed the title fix: Style test cells for appropriate currentColor when dark is set fix(md-test-table): apply default text styles in cells with dark Nov 4, 2026
@copybara-service copybara-service Bot changed the title fix(md-test-table): apply default text styles in cells with dark fix(md-test-table): apply default text color in cells with dark Nov 4, 2026
@copybara-service copybara-service Bot changed the title fix(md-test-table): apply default text color in cells with dark fix(testing): apply theme-dependent default text color in cells Nov 4, 2026
@copybara-service
copybara-service Bot force-pushed the cl/1013360844 branch 2 times, most recently from 2017d63 to 359ccbc Compare November 4, 2026 20:35
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
copybara-service Bot merged commit d872455 into main Nov 4, 2026
8 checks passed
@copybara-service
copybara-service Bot deleted the cl/1013360844 branch November 4, 2026 20:39
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.

1 participant