From 9e04082b5b82ee0d7bf1783358e2a5543331fa23 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 12 Nov 2021 13:42:57 -0500 Subject: [PATCH] Switch from `equicolor` to `unique-colors` As `equicolor` was throwing some TypeScript errors and is more complicated than required --- package.json | 2 +- src/App.vue | 7 ++----- src/unique-colors.d.ts | 4 ++++ 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 src/unique-colors.d.ts diff --git a/package.json b/package.json index 3543df0..e1981a5 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "@fullcalendar/icalendar": "^5.10.1", "@fullcalendar/timegrid": "^5.6.0", "@fullcalendar/vue3": "^5.10.0", - "equicolor": "^1.1.0", "ical.js": "github:ekreative/ical.js#var-ical", "intl": "^1.2.5", + "unique-colors": "^1.0.1", "vue": "^3.2.20" } } diff --git a/src/App.vue b/src/App.vue index 467a409..59b0818 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@