HUGE REFACTOR / CLEANUP

if there is a issue it's probably something in here that was changed
This commit is contained in:
2021-09-28 20:19:44 +00:00
parent 51eddfede9
commit d0afdd9855
238 changed files with 3127 additions and 8614 deletions

View File

@@ -22,7 +22,7 @@ export default {
soft_gray: "#d2d7db"
},
getBoldPaletteArray(size) {
let palette = [
const palette = [
this.color.blue,
this.color.red,
this.color.green,
@@ -32,15 +32,15 @@ export default {
this.color.teal,
this.color.black
];
let paletteLength = palette.length;
let ret = [];
const paletteLength = palette.length;
const ret = [];
for (let i = 0; i < size; i++) {
ret.push(palette[i % paletteLength]);
}
return ret;
},
getSoftPaletteArray(size) {
let palette = [
const palette = [
this.color.soft_sand,
this.color.soft_pale_blue,
this.color.soft_gray,
@@ -50,8 +50,8 @@ export default {
this.color.soft_sand_taupe,
this.color.soft_brown_darker
];
let paletteLength = palette.length;
let ret = [];
const paletteLength = palette.length;
const ret = [];
for (let i = 0; i < size; i++) {
ret.push(palette[i % paletteLength]);
}