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

New Color Scheme Updated #123

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/resources/vue/components/_charts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
});

function createColorArray(length) {
const colors = ["#54ca76", "#f5c452", "#f2637f", "#9261f3", "#31a4e6", "#55cbcb"];
const colors = ["#1e81b0", "##eeeee4", "##e28743", "##eab676", "##76b5c5", "##21130d", "#873e23", "#d5817c"];
ChintzRuparel marked this conversation as resolved.
Show resolved Hide resolved
let array = [...Array(length).keys()].map(i => colors[i % colors.length]);
// avoid first and last colors being the same
if (length % colors.length === 1) {
Expand Down