Skip to content

fix(MD3): update color schema and tokens #4900

Open
adrcotfas wants to merge 2 commits into@adrcotfas/feat/remove_custom_ripple_colorfrom
@adrcotfas/fix/color_tokens
Open

fix(MD3): update color schema and tokens #4900
adrcotfas wants to merge 2 commits into@adrcotfas/feat/remove_custom_ripple_colorfrom
@adrcotfas/fix/color_tokens

Conversation

@adrcotfas
Copy link
Copy Markdown
Collaborator

@adrcotfas adrcotfas commented Apr 15, 2026

@github-actions
Copy link
Copy Markdown

The mobile version of example app from this branch is ready! You can see it here.

Comment thread src/types.tsx
Comment on lines 39 to +79
@@ -58,6 +65,18 @@ export type MD3Colors = {
inverseSurface: string;
inverseOnSurface: string;
inversePrimary: string;
primaryFixed: string;
primaryFixedDim: string;
onPrimaryFixed: string;
onPrimaryFixedVariant: string;
secondaryFixed: string;
secondaryFixedDim: string;
onSecondaryFixed: string;
onSecondaryFixedVariant: string;
tertiaryFixed: string;
tertiaryFixedDim: string;
onTertiaryFixed: string;
onTertiaryFixedVariant: string;
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 19 new properties are required. Any consumer who built a custom MD3Colors literal pre-upgrade will now fail TS. Is this intended?

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.

3 participants