2019-09-12 11:40:17 +02:00
|
|
|
export class CustomizationOptions {
|
|
|
|
mainColor: string;
|
|
|
|
secondaryColor: string;
|
2021-02-10 11:24:52 +01:00
|
|
|
backgrounds:{
|
|
|
|
panels: {
|
|
|
|
onDarkBackground: boolean,
|
|
|
|
background: {
|
|
|
|
color: string; //background
|
|
|
|
borderStyle: string;
|
|
|
|
borderColor: string;
|
|
|
|
borderWidth: number;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
homeBanner:{
|
|
|
|
onDarkBackground: boolean,
|
|
|
|
background: {
|
|
|
|
color: string; //background
|
|
|
|
borderStyle: string;
|
|
|
|
borderColor: string;
|
|
|
|
borderWidth: number;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lightPageBackground:{
|
|
|
|
background: {
|
|
|
|
color: string; //background
|
|
|
|
borderStyle: string;
|
|
|
|
borderColor: string;
|
|
|
|
borderWidth: number;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
2019-09-12 11:40:17 +02:00
|
|
|
panel: {
|
2019-10-07 08:58:49 +02:00
|
|
|
onDarkBackground: boolean,
|
2019-09-12 11:40:17 +02:00
|
|
|
background: {
|
2019-10-07 08:58:49 +02:00
|
|
|
color: string; //background
|
2019-09-12 11:40:17 +02:00
|
|
|
borderStyle: string;
|
|
|
|
borderColor: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
borderWidth: number;
|
2021-02-10 11:24:52 +01:00
|
|
|
}
|
|
|
|
, fonts: {
|
2019-09-12 11:40:17 +02:00
|
|
|
color: string;
|
|
|
|
family: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
size: number;
|
|
|
|
weight: number;
|
2019-09-12 11:40:17 +02:00
|
|
|
},
|
|
|
|
title: {
|
|
|
|
color: string;
|
|
|
|
family: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
size: number;
|
|
|
|
weight: number;
|
2019-09-12 11:40:17 +02:00
|
|
|
},
|
2021-02-10 11:24:52 +01:00
|
|
|
/* panelElements: {
|
2019-09-12 11:40:17 +02:00
|
|
|
backgroundColor: string;
|
|
|
|
borderColor: string;
|
|
|
|
color: string;
|
2021-02-10 11:24:52 +01:00
|
|
|
}*/
|
2019-09-12 11:40:17 +02:00
|
|
|
};
|
|
|
|
|
2021-02-10 11:24:52 +01:00
|
|
|
/* box: {
|
2019-09-12 11:40:17 +02:00
|
|
|
borderColor: string;
|
|
|
|
borderStyle: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
borderWidth: number;
|
|
|
|
borderRadius: number;
|
2019-09-12 11:40:17 +02:00
|
|
|
}
|
2021-02-10 11:24:52 +01:00
|
|
|
;*/
|
2019-09-12 11:40:17 +02:00
|
|
|
links: {
|
2019-10-07 08:58:49 +02:00
|
|
|
darkBackground: {
|
|
|
|
family: string;
|
|
|
|
size: number;
|
|
|
|
weight: number;
|
2019-09-12 11:40:17 +02:00
|
|
|
color: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
|
|
|
|
onHover: {
|
|
|
|
color: string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lightBackground: {
|
|
|
|
color: string;
|
|
|
|
onHover: {
|
|
|
|
color: string;
|
|
|
|
};
|
2019-09-12 11:40:17 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
buttons: {
|
2019-10-07 08:58:49 +02:00
|
|
|
darkBackground: {
|
2019-09-12 11:40:17 +02:00
|
|
|
backgroundColor: string;
|
|
|
|
color: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
borderStyle: string;
|
2019-09-12 11:40:17 +02:00
|
|
|
borderColor: string;
|
2019-10-07 08:58:49 +02:00
|
|
|
borderWidth: number;
|
|
|
|
borderRadius: number;
|
|
|
|
onHover: {
|
|
|
|
backgroundColor: string;
|
|
|
|
color: string;
|
|
|
|
borderColor: string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lightBackground: {
|
|
|
|
backgroundColor: string;
|
|
|
|
color: string;
|
|
|
|
borderStyle: string;
|
|
|
|
borderColor: string;
|
|
|
|
borderWidth: number;
|
|
|
|
borderRadius: number;
|
|
|
|
onHover: {
|
|
|
|
backgroundColor: string;
|
|
|
|
color: string;
|
|
|
|
borderColor: string;
|
|
|
|
};
|
2019-09-12 11:40:17 +02:00
|
|
|
};
|
|
|
|
};
|
2019-10-07 08:58:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
constructor() {
|
|
|
|
|
2021-03-31 13:23:24 +02:00
|
|
|
this.mainColor = '#4687E6';
|
|
|
|
this.secondaryColor = '#2D72D6';
|
2019-10-07 08:58:49 +02:00
|
|
|
this.panel = {
|
|
|
|
onDarkBackground: true,
|
|
|
|
background: {
|
2021-03-31 13:23:24 +02:00
|
|
|
color: '#4687E6',
|
2019-10-07 08:58:49 +02:00
|
|
|
borderStyle: 'solid',
|
2021-03-31 13:23:24 +02:00
|
|
|
borderColor: "#4687E6",
|
2019-10-07 08:58:49 +02:00
|
|
|
borderWidth: 0
|
|
|
|
}, fonts: {
|
|
|
|
color: '#ffffff',
|
2019-10-10 16:46:00 +02:00
|
|
|
family: 'Open Sans',
|
2019-10-07 08:58:49 +02:00
|
|
|
size: 14,
|
|
|
|
weight: 400
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
color: '#ffffff',
|
2019-10-10 16:46:00 +02:00
|
|
|
family: 'Open Sans',
|
2019-10-07 08:58:49 +02:00
|
|
|
size: 18,
|
|
|
|
weight: 700
|
|
|
|
},
|
|
|
|
|
2021-02-10 11:24:52 +01:00
|
|
|
/* panelElements: {
|
2019-10-07 08:58:49 +02:00
|
|
|
backgroundColor: 'rgba(255, 255, 255, 0.5)',
|
|
|
|
borderColor: 'rgba(255, 255, 255, 0.5)',
|
|
|
|
color: '#ffffff'
|
2021-02-10 11:24:52 +01:00
|
|
|
}*/
|
2019-10-07 08:58:49 +02:00
|
|
|
};
|
|
|
|
|
2021-02-10 11:24:52 +01:00
|
|
|
/* this.box = {
|
2019-10-07 08:58:49 +02:00
|
|
|
borderColor: '#4C9CD5',
|
|
|
|
borderStyle: 'solid',
|
|
|
|
borderWidth: 2,
|
|
|
|
borderRadius: 6,
|
2021-02-10 11:24:52 +01:00
|
|
|
};*/
|
2019-10-07 08:58:49 +02:00
|
|
|
this.links = {
|
|
|
|
darkBackground: {
|
2019-10-10 16:46:00 +02:00
|
|
|
family: 'Open Sans',
|
2019-10-07 08:58:49 +02:00
|
|
|
size: 14,
|
|
|
|
weight: 400,
|
|
|
|
color: 'rgba(255, 255, 255, 0.98)',
|
|
|
|
onHover: {
|
|
|
|
color: 'rgba(255, 255, 255, 0.5)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
lightBackground: {
|
2021-03-31 13:23:24 +02:00
|
|
|
color: '#4687E6',
|
2019-10-07 08:58:49 +02:00
|
|
|
onHover: {
|
2021-03-31 13:23:24 +02:00
|
|
|
color: '#2D72D6'
|
2019-10-07 08:58:49 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
this.buttons = {
|
|
|
|
darkBackground: {
|
|
|
|
backgroundColor: "#ffffff",
|
2021-03-31 13:23:24 +02:00
|
|
|
color:"#000000",
|
2019-10-07 08:58:49 +02:00
|
|
|
borderStyle:"solid",
|
|
|
|
borderColor: "#ffffff",
|
|
|
|
borderWidth: 1,
|
2021-03-31 13:23:24 +02:00
|
|
|
borderRadius: 500,
|
2019-10-07 08:58:49 +02:00
|
|
|
onHover: {
|
|
|
|
backgroundColor: "#eeeeee",
|
2021-03-31 13:23:24 +02:00
|
|
|
color: "#000000",
|
2019-10-07 08:58:49 +02:00
|
|
|
borderColor: "#eeeeee",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
lightBackground: {
|
2021-03-31 13:23:24 +02:00
|
|
|
backgroundColor: '#4687E6',
|
2019-10-07 08:58:49 +02:00
|
|
|
color: '#ffffff',
|
|
|
|
borderStyle: "solid",
|
2021-03-31 13:23:24 +02:00
|
|
|
borderColor: "#4687E6",
|
2019-10-07 08:58:49 +02:00
|
|
|
borderWidth: 1,
|
2021-03-31 13:23:24 +02:00
|
|
|
borderRadius: 500,
|
2019-10-07 08:58:49 +02:00
|
|
|
onHover: {
|
2021-03-31 13:23:24 +02:00
|
|
|
backgroundColor: '#2D72D6',
|
2019-10-07 08:58:49 +02:00
|
|
|
color: '#ffffff',
|
2021-03-31 13:23:24 +02:00
|
|
|
borderColor: "#2D72D6",
|
2019-10-07 08:58:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2019-09-12 11:40:17 +02:00
|
|
|
}
|