diff --git a/public/index.html b/public/index.html index 7a90a450..8910c5bc 100644 --- a/public/index.html +++ b/public/index.html @@ -1,11 +1,11 @@ - + - + <%= htmlWebpackPlugin.options.title %> diff --git a/src/assets/freqtrade-logo-mask.png b/src/assets/freqtrade-logo-mask.png new file mode 100644 index 00000000..2186f855 Binary files /dev/null and b/src/assets/freqtrade-logo-mask.png differ diff --git a/src/components/BootswatchThemeSelect.vue b/src/components/BootswatchThemeSelect.vue index 6773c3f7..c0bdeabb 100644 --- a/src/components/BootswatchThemeSelect.vue +++ b/src/components/BootswatchThemeSelect.vue @@ -1,19 +1,20 @@ - diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index b4aa4b19..6c89634b 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -1,6 +1,6 @@ @@ -41,6 +41,8 @@ export default class CandleChart extends Vue { @Prop({ required: true }) plotConfig!: PlotConfig; + @Prop({ default: 'dark' }) theme!: string; + buyData = [] as Array[]; sellData = [] as Array[]; @@ -95,7 +97,7 @@ export default class CandleChart extends Vue { text: `${this.strategy} - ${this.pair} - ${this.timeframe}`, show: true, }, - backgroundColor: '#1b1b1b', + // backgroundColor: '#1b1b1b', useUTC: this.useUTC, animation: false, legend: { diff --git a/src/components/charts/CandleChartContainer.vue b/src/components/charts/CandleChartContainer.vue index 165e250d..169f66a0 100644 --- a/src/components/charts/CandleChartContainer.vue +++ b/src/components/charts/CandleChartContainer.vue @@ -45,6 +45,7 @@ :trades="trades" :plot-config="plotConfig" :use-u-t-c="useUTC" + :theme="getChartTheme" > @@ -54,7 +55,7 @@