Skip to content

Commit

Permalink
revert a couple of color changes in game charts
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Sep 21, 2022
1 parent d9b7c90 commit 2ee58e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/chart/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function loadHighcharts(tpe: string) {
grey: light ? '#999999' : '#777777',
};
const area = {
white: light ? 'rgba(255,255,255,0.7)' : 'rgba(255,255,255,0.5)',
white: light ? 'rgba(255,255,255,0.7)' : 'rgba(255,255,255,0.3)',
black: light ? 'rgba(0,0,0,0.2)' : 'rgba(0,0,0,1)',
};
return {
Expand Down
2 changes: 1 addition & 1 deletion ui/chart/src/movetime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const movetime: Window['LichessChartGame']['movetime'] = async (data: any, trans
const whiteColumnBorder = '#00000044';
const blackAreaFill = hunter ? area.black : 'rgba(0, 0, 0, 0.4)';
const blackColumnFill = 'rgba(0, 0, 0, 0.9)';
const blackColumnBorder = '#ffffff55';
const blackColumnBorder = '#ffffff33';

const moveSeries = {
white: [] as MovePoint[],
Expand Down

0 comments on commit 2ee58e7

Please sign in to comment.