diff --git a/src/logic/course.ts b/src/logic/course.ts index c0610a2..9946846 100644 --- a/src/logic/course.ts +++ b/src/logic/course.ts @@ -81,6 +81,18 @@ export class Assignment } } + /** + * Get the text color of the problem + */ + get problemColor() + { + switch (this.complete) + { + case 'Late': return '#ff0036'; + case 'NREQ': return '#41b141'; + } + } + /** * Add callback *