From 12206b5b39594c323987ee05fb8e39c6b0d84419 Mon Sep 17 00:00:00 2001 From: Ming-jun Lu <40516784+mingjunlu@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:15:35 +0800 Subject: [PATCH] fix(overlay): adjust the color of punctuations (#11388) * fix(overlay): adjust the color of punctuations * chore: add changeset --- .changeset/fair-wolves-move.md | 5 +++++ packages/astro/src/core/errors/overlay.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fair-wolves-move.md diff --git a/.changeset/fair-wolves-move.md b/.changeset/fair-wolves-move.md new file mode 100644 index 0000000000..8e64bbf963 --- /dev/null +++ b/.changeset/fair-wolves-move.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Adjusts the color of punctuations in error overlay. diff --git a/packages/astro/src/core/errors/overlay.ts b/packages/astro/src/core/errors/overlay.ts index 02303409df..4a7818d668 100644 --- a/packages/astro/src/core/errors/overlay.ts +++ b/packages/astro/src/core/errors/overlay.ts @@ -76,7 +76,7 @@ const style = /* css */ ` --astro-code-token-parameter: #aa0000; --astro-code-token-function: #4ca48f; --astro-code-token-string-expression: #9f722a; - --astro-code-token-punctuation: #ffffff; + --astro-code-token-punctuation: #000000; --astro-code-token-link: #9f722a; }