convert to CSS variables

This commit is contained in:
Mononaut
2023-01-02 12:21:52 -06:00
parent 26a92cda45
commit f9f8bd25f8
91 changed files with 290 additions and 239 deletions

View File

@@ -177,7 +177,7 @@ export class BlockPredictionGraphComponent implements OnInit {
splitLine: {
lineStyle: {
type: 'dotted',
color: '#ffffff66',
color: 'var(--transparent-fg)',
opacity: 0.25,
}
},
@@ -289,7 +289,7 @@ export class BlockPredictionGraphComponent implements OnInit {
const now = new Date();
// @ts-ignore
this.chartOptions.grid.bottom = 40;
this.chartOptions.backgroundColor = '#11131f';
this.chartOptions.backgroundColor = 'var(--active-bg)';
this.chartInstance.setOption(this.chartOptions);
download(this.chartInstance.getDataURL({
pixelRatio: 2,