Skip to content

Commit

Permalink
Merge pull request #42726 from ljain112/sales-funnel
Browse files Browse the repository at this point in the history
fix: text color in sales funnel report based on theme
  • Loading branch information
ruthra-kumar authored Aug 13, 2024
2 parents 4426122 + 61bc092 commit af11480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/selling/page/sales_funnel/sales_funnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ erpnext.SalesFunnel = class SalesFunnel {
context.fill();

// draw text
context.fillStyle = "black";
context.fillStyle = getComputedStyle(document.body).getPropertyValue("--text-color");
context.textBaseline = "middle";
context.font = "1.1em sans-serif";
context.fillText(__(title), width + 20, y_mid);
Expand Down

0 comments on commit af11480

Please sign in to comment.