diff --git a/README.md b/README.md index 5abca13..991e4a6 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ easy to use the directive, just add it in a html tag, such as: | `highlightTip` | highlight issues | | `hideTip` | hide sensitive info | | `editDoneLabel` | DONE | +| `headerColour` | rgb(96, 125, 139) | ### method diff --git a/src/app/feedback/feedback-dialog/feedback-dialog.component.html b/src/app/feedback/feedback-dialog/feedback-dialog.component.html index d823a01..e52bd4c 100644 --- a/src/app/feedback/feedback-dialog/feedback-dialog.component.html +++ b/src/app/feedback/feedback-dialog/feedback-dialog.component.html @@ -1,5 +1,5 @@
-
+
{{vars['title']}}
diff --git a/src/app/feedback/feedback.directive.ts b/src/app/feedback/feedback.directive.ts index f404523..68a4bb0 100644 --- a/src/app/feedback/feedback.directive.ts +++ b/src/app/feedback/feedback.directive.ts @@ -18,6 +18,7 @@ export class FeedbackDirective implements OnInit { @Input() highlightTip = 'highlight issues'; @Input() hideTip = 'hide sensitive info'; @Input() editDoneLabel = 'DONE'; + @Input() headerColour = 'rgb(96, 125, 139)'; @Output() public send = new EventEmitter(); public constructor(private dialogRef: MatDialog, private feedbackService: FeedbackService, overlay: Overlay) { @@ -58,7 +59,8 @@ export class FeedbackDirective implements OnInit { drawRectTip: this.drawRectTip, highlightTip: this.highlightTip, hideTip: this.hideTip, - editDoneLabel: this.editDoneLabel + editDoneLabel: this.editDoneLabel, + headerColour: this.headerColour }; }