Skip to content

Commit

Permalink
ui: change charts color in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
meness committed Dec 8, 2023
1 parent a498d6f commit 209c3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/home/indicators/ChainIndicatorChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CHART_MARGIN = { bottom: 5, left: 10, right: 10, top: 0 };

const ChainIndicatorChart = ({ data }: Props) => {
const overlayRef = React.useRef<SVGRectElement>(null);
const lineColor = useColorModeValue('#3CAD71', '#07FC99');
const lineColor = useColorModeValue('#1ACD6E', '#07FC99');

const [ rect, ref ] = useClientRect<SVGSVGElement>();
const { innerWidth, innerHeight } = calculateInnerSize(rect, CHART_MARGIN);
Expand Down
2 changes: 1 addition & 1 deletion ui/shared/chart/ChartWidgetGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const DEFAULT_CHART_MARGIN = { bottom: 20, left: 40, right: 20, top: 10 };

const ChartWidgetGraph = ({ isEnlarged, items, onZoom, isZoomResetInitial, title, margin, units }: Props) => {
const isMobile = useIsMobile();
const color = useColorModeValue('#3CAD71', '#07FC99');
const color = useColorModeValue('#1ACD6E', '#07FC99');
const overlayRef = React.useRef<SVGRectElement>(null);

const [ rect, ref ] = useClientRect<SVGSVGElement>();
Expand Down

0 comments on commit 209c3c1

Please sign in to comment.