I am not sure it is possible to make or there is any limitation.
I use one theme with color variables ( light / dark ).
Manifest use now the
secondary for background_color and
header_background for theme_color but it seems always use the primary set color scheme. For example if the primary color scheme is light than it will use the same colors in manifest on dark mode too.
Thanks for any response!