We have some corporate branding for colour scheme. I've got in JSON to reference, and inside a PA Flow.to respond to the app. However I'm just getting issues getting the references right.
The original data looks like (RGBA Codes aren't actually accurate):
{
"ColourSchemes":[{
"Scheme1":[{
"MainColour":[{
"Solid":"RGBA(33,23,23,1)",
"70pc":"RGBA(33,23,23,0.7)",
"30pc":"RGBA(33,23,23,0.3)"
}],
"Supplement1":[{
"Solid":"RGBA(33,23,23,1)"
"70pc":"RGBA(33,23,23,0.7)",
"30pc":"RGBA(33,23,23,0.3)"
}]...
}],
"Scheme2":[{....}]
}]
}
Then I want to put that in an array/collection so i can reference that in another collection/array so that I can set standard colors such as:
{
AppColourScheme_LightMode:[
{
AppWindow:[{
bgColour:colCorpColours.ColourSchemes.Scheme1.Supplement3.solid,
fgColour:colCorpColours.ColourSchemes.Scheme1.MainColour.Solod
}],
Screen3:[{
Header[{
bgColour:ColourSchemes.Scheme2.Supplementary2.Solid
etc.
I'm also trying to make 3 colour schemes, light mode, dark mode and high contrast. That will feed a further collection col_AppMaster colour scheme, with that being used for the ultimate reference. I've had that working okay it's just getting the initial references for the colour schemes, in to the colour schemes to start I'm getting issue with.
A little complex, but it means that when the team decide to change their branding again, I can update the Corp. scheme and thej all the apps etc. Will be updated at same time.
Anyone got any easy tools or references online they can suggest to get the correct way to handle this, and if this is even possible or just something that I'll have to update the apps when the scheme changes individually.

Report
All responses (
Answers (