From cdb2df707b9f85d9ea8835611814a4992ac512b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9E=9C=E5=B1=B1=E5=A4=A7=E5=9C=A3?= <316783812@qq.com> Date: Fri, 1 Dec 2023 02:45:03 +0800 Subject: [PATCH] chore(dx): improve color contrast in dark mode for custom formatter (#8704) --- packages/runtime-core/src/customFormatter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/runtime-core/src/customFormatter.ts b/packages/runtime-core/src/customFormatter.ts index 768240feb62..b30a876d922 100644 --- a/packages/runtime-core/src/customFormatter.ts +++ b/packages/runtime-core/src/customFormatter.ts @@ -11,9 +11,9 @@ export function initCustomFormatter() { } const vueStyle = { style: 'color:#3ba776' } - const numberStyle = { style: 'color:#0b1bc9' } - const stringStyle = { style: 'color:#b62e24' } - const keywordStyle = { style: 'color:#9d288c' } + const numberStyle = { style: 'color:#1677ff' } + const stringStyle = { style: 'color:#f5222d' } + const keywordStyle = { style: 'color:#eb2f96' } // custom formatter for Chrome // https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html