Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add default colors to Referendum results #165

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danmana
Copy link

@danmana danmana commented Oct 18, 2021

What does it fix?

Closes code4romania/rezultate-vot-client#109
The backend was returning the default #808080 gray color for referendum results.

Added default colors to Referendum type results.
The colors used are the ones that are currently displayed in the ElectionResultsStackedBar (which uses pseudo-random colors #6540bf #40bf9b #97bf40) - see live page
image

Also updated a bit the docs to include info about how to install and run locally.

How has it been tested?

Not tested yet because I don't have a database dump to use on localhost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map for Referendum does not display correct colors
1 participant