Open ajmas opened 2 years ago
Currently the AllocationsTable component uses the US allocations table colours and can't easily be modified.
AllocationsTable
The current values are in the src/utils/FrequencyUtils.ts file.
src/utils/FrequencyUtils.ts
Three possible approaches:
theme
Right now I am leaning toward the third option, just for flexibility. Open to discussion.
Note, any values in the CSS or table that contain spaces or characters unfriendly to CSS should be normalised to be CSS friendly.
Currently the
AllocationsTable
component uses the US allocations table colours and can't easily be modified.The current values are in the
src/utils/FrequencyUtils.ts
file.Three possible approaches:
theme
property with a JSON with 'servicename -> colour' mapRight now I am leaning toward the third option, just for flexibility. Open to discussion.
Note, any values in the CSS or table that contain spaces or characters unfriendly to CSS should be normalised to be CSS friendly.