Skip to content

Improve theme architecture and MRT compatibility#245

Open
zoharma wants to merge 5 commits into
mainfrom
zma/ds-mta-theme-update
Open

Improve theme architecture and MRT compatibility#245
zoharma wants to merge 5 commits into
mainfrom
zma/ds-mta-theme-update

Conversation

@zoharma

@zoharma zoharma commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
  • Working towards MRT support with the new theme
  • Added fallback light/dark hex values for MUI compatibility
  • Updated and cleaned up theme overrides to consume design tokens only
  • Reorganised the theme file and improved comments

@zoharma zoharma force-pushed the zma/ds-mta-theme-update branch 3 times, most recently from 4acd5dd to b000b7c Compare July 2, 2026 15:16
@zoharma zoharma marked this pull request as ready for review July 2, 2026 15:23
@zoharma zoharma force-pushed the zma/ds-mta-theme-update branch from b000b7c to aa36969 Compare July 2, 2026 15:26
Comment thread src/themes/DiamondDSIntegrations.ts Outdated
NKatti2011
NKatti2011 previously approved these changes Jul 10, 2026

@NKatti2011 NKatti2011 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


/**
* Standard argument shape for MUI style override callbacks.
*

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this deleted?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it because the comment describes the whole type, not just the ownerState field. The old comment only explained one part of it, while the new one explains what the type is used for.

@VictoriaBeilsten-Edmands VictoriaBeilsten-Edmands left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests can be extended now to check that the vales introduced to the theme file match those in the css file.

- Working towards MRT support with the new theme
- Added fallback light/dark hex values for MUI compatibility
- Updated and cleaned up theme overrides to consume design tokens only
- Reorganised the theme file and improved comments
- Updated comments
@zoharma zoharma force-pushed the zma/ds-mta-theme-update branch from d80fdc6 to 0b818ea Compare July 10, 2026 16:16
@zoharma zoharma requested a review from NKatti2011 July 10, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants