mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
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();
|
context.fill();
|
||||||
|
|
||||||
// draw text
|
// draw text
|
||||||
|
<<<<<<< HEAD
|
||||||
context.fillStyle = "";
|
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.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