Instead of passing the environment, one should pass the color key (info or warning) to generate the appropriate color. This is an intermediate PR. The next one will give the opportunity to pass in any color in the MUI Italia palette. This is due to updated requirements in Interoperabilità after the introduction of the "Ambiente di attestazione" product.
Product
Interoperabilità
Before
One would pass the env property (test or prod) to set the ribbon background color
After
One would pass the bgColor property (info or warning) to set the ribbon background color
Short description
Instead of passing the environment, one should pass the color key (
info
orwarning
) to generate the appropriate color. This is an intermediate PR. The next one will give the opportunity to pass in any color in the MUI Italia palette. This is due to updated requirements in Interoperabilità after the introduction of the "Ambiente di attestazione" product.Product
Interoperabilità
Before
One would pass the
env
property (test
orprod
) to set the ribbon background colorAfter
One would pass the
bgColor
property (info
orwarning
) to set the ribbon background color