From a94e757a8d6a48cf3c6048e553fa541fdfae5c2e Mon Sep 17 00:00:00 2001 From: glorydavid03023 Date: Wed, 27 May 2026 17:17:47 -0500 Subject: [PATCH] =?UTF-8?q?fix(views):=20DS=20drift=20=E2=80=94=20sankey?= =?UTF-8?q?=20tooltip=20tokens=20(#1996)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(views): DS drift sankey tooltip and imports icon token Replace raw palette classes on the cashflow Sankey tooltip with functional tokens (aligned with time_series_chart). Use bg-surface for the YNAB import option icon background. Refs #1971, #1951 * fix(views): add privacy-sensitive sankey tooltip class Align the sankey tooltip with privacy mode masking by appending privacy-sensitive while keeping the DS tokenized tooltip styling. --------- Signed-off-by: glorydavid03023 --- app/javascript/controllers/sankey_chart_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/controllers/sankey_chart_controller.js b/app/javascript/controllers/sankey_chart_controller.js index 1af8a25a8..cb24edeb9 100644 --- a/app/javascript/controllers/sankey_chart_controller.js +++ b/app/javascript/controllers/sankey_chart_controller.js @@ -511,7 +511,7 @@ export default class extends Controller { .append("div") .attr( "class", - "bg-gray-700 text-white text-sm p-2 rounded pointer-events-none absolute z-50 top-0", + "bg-container text-primary text-sm font-sans p-2 border border-secondary rounded-lg pointer-events-none absolute z-50 top-0 privacy-sensitive", ) .style("opacity", 0) .style("pointer-events", "none");