MudTable: Use theme typography for font styling#12152
Merged
Garderoben merged 2 commits intodevfrom Dec 18, 2025
Merged
Conversation
Co-authored-by: danielchalmers <[email protected]>
Copilot
AI
changed the title
[WIP] Update MudTable font styling to use theme typography
Use theme typography for MudTable font styling
Nov 23, 2025
EnesEfeTokta
approved these changes
Dec 13, 2025
danielchalmers
approved these changes
Dec 18, 2025
Garderoben
reviewed
Dec 18, 2025
Member
Garderoben
left a comment
There was a problem hiding this comment.
How does it look now? since its sub2 for header its a bit different from before i bet. Is it acceptable?
Member
henon
approved these changes
Dec 18, 2025
Contributor
henon
left a comment
There was a problem hiding this comment.
Not seeing a difference so I see no reason why not to merge it.
Garderoben
approved these changes
Dec 18, 2025
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.




MudTable and MudSimpleTable used hardcoded font sizes (0.875rem) that didn't respect theme typography settings. This prevented tables from adapting when developers customized
MudTheme.Typography.Changes:
subtitle2typography variables (font-size, font-family, font-weight, line-height, letter-spacing, text-transform)body2typography variables (font-size, font-family, font-weight, line-height, letter-spacing, text-transform)_table.scssand_simpletable.scssTables now respond to theme typography configuration:
Aligns with Material Design 2 data table specifications and existing MudBlazor component patterns.
Checklist:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.