fix: text color in sales funnel report based on theme
(cherry picked from commit 61bc0925d5)
# Conflicts:
# erpnext/selling/page/sales_funnel/sales_funnel.js
This commit is contained in:
@@ -248,7 +248,11 @@ erpnext.SalesFunnel = class SalesFunnel {
|
||||
context.fill();
|
||||
|
||||
// draw text
|
||||
<<<<<<< HEAD
|
||||
context.fillStyle = "";
|
||||
=======
|
||||
context.fillStyle = getComputedStyle(document.body).getPropertyValue("--text-color");
|
||||
>>>>>>> 61bc0925d5 (fix: text color in sales funnel report based on theme)
|
||||
context.textBaseline = "middle";
|
||||
context.font = "1.1em sans-serif";
|
||||
context.fillText(__(title), width + 20, y_mid);
|
||||
|
||||
Reference in New Issue
Block a user