Hello my people! I have a question: I wish to gene...
# compose-web
j
Hello my people! I have a question: I wish to generate material 3 colors schemes on the fly in my compose-web project 🙂 A bit like: https://material-foundation.github.io/material-theme-builder/#/custom where you would select 3 colors and then a palette can be created. Do you know of any ways how to achieve this? I am getting a bit lost here sadly. My current plan would be to somehow create the palettes and then assign them to a scheme like the way in jetpack compose: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]otlin/androidx/compose/material3/DynamicTonalPalette.kt;l=116 But I don't know how to generate the schemes, does somebody have an idea? 🙂
j
thanks I will have a look 🙂
This looks more like it :)
Okay I could convert the parts of that project which I need to kotlin and put it into my web app 😄 so now I can magically generate the themes I need based on a primary and secondary color