Skip to content

Branding challange when creating themes #156

Closed Answered by rydmike
razfazz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @razfazz, thanks for your question 😃

The palette you are linking too is using the older Material 2 Color System and Material Color Palette that was in use in Material 2.

Google never published the exact algorithm for creating those color palettes. Some libraries exist(ed) in JS that were reverse engineered from the web site. But I never found any Dart ports of it. There is a variant of it included in the color picker in the app, that makes a "fake" Material Color palette swatch, but it is not an exact match, far from it.

That color system is also effectively obsolete. You should instead migrate to using the new color system based on the new Google Color Space HCT (Hue Chroma Tone) that…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rydmike
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rydmike
Comment options

@razfazz
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This issue is a usage question and will be moved to the Discussions section.
3 participants
Converted from issue

This discussion was converted from issue #155 on May 17, 2023 03:51.