From d05caa6c4ebec64368b5de0a581e4a82ac0c2a15 Mon Sep 17 00:00:00 2001 From: piexian <64474352+piexian@users.noreply.github.com> Date: Thu, 7 May 2026 23:29:42 +0800 Subject: [PATCH 1/3] fix(dashboard): make console ANSI colors theme-aware Switch logColorAnsiMap from static data to a computed property that picks light or dark palette based on uiTheme, and watch it to re-render already-displayed logs on theme change. --- .../components/shared/ConsoleDisplayer.vue | 85 ++++++++++++------- 1 file changed, 53 insertions(+), 32 deletions(-) diff --git a/dashboard/src/components/shared/ConsoleDisplayer.vue b/dashboard/src/components/shared/ConsoleDisplayer.vue index 8789925cac..f493fe8786 100644 --- a/dashboard/src/components/shared/ConsoleDisplayer.vue +++ b/dashboard/src/components/shared/ConsoleDisplayer.vue @@ -29,22 +29,36 @@ import { EventSourcePolyfill } from 'event-source-polyfill';