mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 15:32:14 +00:00
fix: text color in sales funnel report based on theme
(cherry picked from commit 61bc0925d5)
This commit is contained in:
@@ -248,7 +248,7 @@ erpnext.SalesFunnel = class SalesFunnel {
|
|||||||
context.fill();
|
context.fill();
|
||||||
|
|
||||||
// draw text
|
// draw text
|
||||||
context.fillStyle = "black";
|
context.fillStyle = getComputedStyle(document.body).getPropertyValue("--text-color");
|
||||||
context.textBaseline = "middle";
|
context.textBaseline = "middle";
|
||||||
context.font = "1.1em sans-serif";
|
context.font = "1.1em sans-serif";
|
||||||
context.fillText(__(title), width + 20, y_mid);
|
context.fillText(__(title), width + 20, y_mid);
|
||||||
|
|||||||
Reference in New Issue
Block a user