Set palette colors
This function allows to change the primary and secondary colors of the application in general

Primary color: Enter the primary color code (from Color Value located in the Control Table)(Required)
Secondary color: Enter the color of the secondary color (from Color Value located in the Control Table)(Required)
Step by Step :

On error : It is executed when the entered colors are not valid
OutVars
Colors is not validOn Suceess : Runs on successful color palette update.
OutVars
{
"primaryColor": "palette:primary:600:1",
"secondaryColor": "palette:black:500:1"
}No se puede agregar de forma directa los coódigos de los colores, ya que no los reconoceria, se tienen que agregar directamente desde la Tabla de controles en la sección de Color Value. Si se selecciona "custom:transparent" se acepará cómo color valido, pero se verá reflejado como un color negro


Last updated
Was this helpful?