diff --git a/src/app/pages/customization/background.component.ts b/src/app/pages/customization/background.component.ts
index 8867c80..5ed0140 100644
--- a/src/app/pages/customization/background.component.ts
+++ b/src/app/pages/customization/background.component.ts
@@ -9,12 +9,14 @@ declare var UIkit;
+ " background.color = $event;" [description]="description">
+
`
})
export class BackgroundComponent implements OnInit {
@Input() label:string = "";
+ @Input() description:string = null;
@Input() background;
@Input() oldBackground;
@Input() light:boolean;
diff --git a/src/app/pages/customization/color.component.ts b/src/app/pages/customization/color.component.ts
index 115c6ef..f2fb9cd 100644
--- a/src/app/pages/customization/color.component.ts
+++ b/src/app/pages/customization/color.component.ts
@@ -11,9 +11,12 @@ import {CustomizationOptions} from '../../openaireLibrary/connect/community/Cust
-
{{label}}
+ {{label}}
+
{{description}}
+
-
+
+
Contrast ratio may be too low.
`,
styles:[
@@ -35,6 +38,7 @@ export class ColorComponent implements OnInit {
@Input() addMargin: boolean = false;
@Output() colorChange = new EventEmitter();
@Input() light:boolean;
+ @Input() description:string = null;
public warningForContrast(color:string){
return (this.light && CustomizationOptions.isForLightBackground(color)) || (!this.light && !CustomizationOptions.isForLightBackground(color));
}
diff --git a/src/app/pages/customization/customization.component.html b/src/app/pages/customization/customization.component.html
index 2df026f..ff0e748 100644
--- a/src/app/pages/customization/customization.component.html
+++ b/src/app/pages/customization/customization.component.html
@@ -213,12 +213,12 @@
[light]="false">
-
+ [communityId]="communityId" description="The area under menu">
- Hero Image
+ Hero section image